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.
Reference file (Dropbox): https://www.dropbox.com/s/pgj4170swazar6e/MockUp2.pbix?dl=0
Description: File contains two queries, one for open work ("Tasks") and one for available resources ("Availability"). The open work has calculated measures attached which allows the user to use a date slicer to see how much work is remaining per configuration for a specific time frame. Currently I am not able to put availability for a specific time frame next to work.
User Story: I would like to display available resources (Availability[HoursTotal]) and work (Tasks[Work (h)]) for the time frame selected in the date slicer in one column chart
Further challenges: Additionally I am looking into having another column chart with "Availability[Team]" as value on the x-axis and then columns which indicate a) "Tasks[Work (h)]" per team and b) "Availability[HoursTotal]" per team.
Thank you,
-L
Solved! Go to Solution.
Hi @love,
I noticed that there isn't any relationship between 'Availability' and 'CalendarTable'. So, the Availability[HoursTotal] won't be affected by the selected date range from slicer. You may create a measure similar to:
Hours total measure = CALCULATE ( SUM ( Availability[HoursTotal] ), FILTER ( Availability, Availability[Date] >= MIN ( CalendarTable[Date] ) && Availability[Date] <= MAX ( CalendarTable[Date] ) ) )
Regards,
Yuliana Gu
Hi @love,
I noticed that there isn't any relationship between 'Availability' and 'CalendarTable'. So, the Availability[HoursTotal] won't be affected by the selected date range from slicer. You may create a measure similar to:
Hours total measure = CALCULATE ( SUM ( Availability[HoursTotal] ), FILTER ( Availability, Availability[Date] >= MIN ( CalendarTable[Date] ) && Availability[Date] <= MAX ( CalendarTable[Date] ) ) )
Regards,
Yuliana Gu
Hello @v-yulgu-msft and thank you very much for your reply. Creating this relationship was what I was working on but I did not succeed, I am testing your proposal right now and it seems to work very well, thank you!
Would you also have an insight on how to now have both availability & work displayed in the same column chart? I am completly stuck on this challenge.
@Zubair_Muhammad would you please be so kind to maybe help me out another time here?
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 | |
95 | |
76 | |
65 | |
51 |
User | Count |
---|---|
146 | |
109 | |
106 | |
88 | |
61 |