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.
Hi
I need help reproducing a graph I have in Excel in Powe BI and have been trying to write a measure to use in graphs
It calculates how many desk were utilised (at least once in the day) or never utilised on a giving day. Where the data is recorded every hour (Slots)
I have 3 Tables that are linked
BI_Location_Building_Data (A list of all location (Desks))
BI_Slots
BI_SurveyData
Can anyone help
Solved! Go to Solution.
Hi
Thanks cracked it hsed need to add a filter
Hi @flemingg62 ,
Do you have a specific question that we can answer? You should be able to achieve this using a 100% Stacked Bar Chart.
https://powerbidocs.com/2020/01/25/power-bi-100-stacked-bar-chart/
Hi
Thanks, but I need a measure to count the numner of locations never used on each day
Something along the lines of:
Never used =
VAR _Used =
DISTINCTCOUNT ( Table[Locations] )
VAR _ALL =
CALCULATE ( DISTINCTCOUNT ( Table[Locations), ALL(Table[Locations] ) )
RETURN
_ALL - _Used
Proud to be a Super User!
Paul on Linkedin.
Hi - Thanks
Been paying around with it for a few hours and no luck, but almost there, the send part is returning the correct values, but the first part needs to be limited to desks never used in a day
Never used =
VAR _Used =
DISTINCTCOUNT ( Table[Locations] ) I need to add a condition so that the values is limited to Location never used on a day, such as FILTER(SUM(BI_SurveyData(Utilised] =0)) I have tried may variation but no luck
VAR _ALL =
CALCULATE ( DISTINCTCOUNT ( Table[Locations), ALL(Table[Locations] ) )
RETURN
_ALL - _Used
I also have a measure, but no luck using this as well
Utilised Count = Sum((BI_SurveyData[Utilised]))
Can you share some dummy data or a link to a dummy PBIX file?
Proud to be a Super User!
Paul on Linkedin.
Hi
Thanks cracked it hsed need to add a filter
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 |
---|---|
109 | |
106 | |
87 | |
75 | |
66 |
User | Count |
---|---|
125 | |
114 | |
98 | |
81 | |
73 |