I have a situation in Tableau where I need to do a calculation, but am stuck as to how best to approach it.
I have data in a table like this:
Organisation ID (Measure), Country (Dimension), FY16 Status (Dimension has 3 different values (Low,Medium,High)), FY17 Status (Dimension has 3 different values (Low,Medium,High)).
Sample of the Data: 12345, France, Low, Medium 12346, France, Medium, Medium 12347, France, High, Medium 12348, France, Low, High
What I need to do is create a table that shows the following columns:
Any help would be greatly appreciated.
Please find the link to the Workbook here with a description of what exactly I am trying to achieve also in the Dashboard.
It's pretty simple.
Create Low in FY16
as calculated field with formula
IF [FY16 Status] = 'Low' THEN 1 ELSE 0 END
Create Low/Medium/High in FY16/FY17Y
in the same way
Create Low Change
as calculated field with formula
(SUM([Low in FY17])-SUM([Low in FY16]))/SUM([Low in FY16])
Create Medium Change
and High Change
as well
Now you got all the columns it's time to create a sheet
If you need I've uploaded this sheet as Tableau workbook with Excel data (link to be expired in 48 hours)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.