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.
I am trying to calculate the cube utilization % by Route and Month & Year. I created measures called Total Cube, Day Count, and Avg Used Cube/Day.
Any help is appreciated.
Solved! Go to Solution.
Hi @Anonymous
I would suggest you change the relationship as below.Then you may get the expected output with above measure.Attached the sample file.
Regards,
Cherie
Hi @Anonymous
You may try below measure.Change 'Table' to the actual table name.If it is not your case,please share your sample data which could reproduce your scenario and your desired output.You can upload the .pbix file to OneDrive and post the link here. Do mask sensitive data before uploading.
Measure = DIVIDE ( [Avg Used Cube/Day], CALCULATE ( SUM ( Table[Usable Capacity] ) ) )
Regards,
Cherie
Hello @v-cherch-msft,
I appreciate the response. I used your formula in the measure and it gave me an incorrect (lower than expected) % for utilization. I have attached a screenshot of the results with the cube utilization listed in the far right column. I need the end result in column Cube Utilization to be Avg Used Cube/Day divided by Usable Capacity. For example, row 1 for Dec 2017 and LA1 would be 37.15% rather than 12.38%.
Per your request, I have uploaded the .pbix file to folder Power BI and the link is below.
Sincerely,
Jack
Hi @Anonymous
I cannot access the file from sharepoint.Could you share it with onedrive?
Regards,
Cherie
Sorry about that. My OneDrive account was frozen from lack of use. Let me know if the below link works for you.
https://1drv.ms/u/s!AiFttrDOn_FqfXiOTPIJunpUOVg
Sincerely,
Jack
Hi @Anonymous
I would suggest you change the relationship as below.Then you may get the expected output with above measure.Attached the sample file.
Regards,
Cherie
Thank you very much! This obtains the output I was hoping for. Would you mind explaining the reasoning behind changing the cross-filter direction from single to both for the Truck Specs and Total Cube table relationship?
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 |
---|---|
111 | |
94 | |
83 | |
66 | |
59 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |