Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello,
I have data set which contains months, Types of work and hours for each type of work per month. I want to show total hours per month in clustered chart A and in the clustered chart B I want to show hours for each work streem. I want to set it up in a way so that when I select any month in clustered chart A, it shows total number of hours per each work streem for that month in clustered chart B and when nothing is selected it in clustered chart A, It shows total number of hours year to date per work type.
Solved! Go to Solution.
To do this you should structure your data so that you have 3 columns Month, WorkType and Amount. (you can do this with an "unpivot" transformation)
HI @vchauhan011,
As d_gosbell said, you can consider doing 'unpivot columns' on your month field and write measure formula to achieve your requirement:
Measure =
CALCULATE (
SUM ( Table[Hour] ),
ALLSELECTED ( Table ),
VALUES ( Table[Work] ),
VALUES ( Table[Month] )
)
Regards,
Xiaoxin Sheng
Thank you very much for your suggetion!
To do this you should structure your data so that you have 3 columns Month, WorkType and Amount. (you can do this with an "unpivot" transformation)
Thank you very much for your help!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
94 | |
82 | |
66 | |
58 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |