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.
My data looks like the below. As can be seen in the snippet below, Metered_KWH column is only measured every four hours period in 24 hours. Hence I want to fill down the blank values and multiply them by the Consumption Rate values.
My attempt is below but no luck yet.
Hist Conp KWh = SUMX('Total Conp','Total Conp'[Metered_KWH])
Consumption Rate = DIVIDE(SUMX(HHR,HHR[Metered KWh]),CALCULATE(SUMX(HHR,HHR[Metered KWh]),ALL('Time - 48 Trading Period'[Time])))
Distributed Metered KWH = MAXX(
FILTER(
ALL('ToU_Conp_48h_period'[Time]),
'ToU_Conp_48h_period'[Time]=MAX('ToU_Conp_48h_period'[Time])),
[Hist Conp KWh])
Any help would be much appreciated.
Solved! Go to Solution.
Hi @lovedata,
Please try to update the formula of measure [Distributed Metered KWH ] as below and check it can return the correct result...
Distributed Metered KWH = MAXX ( FILTER ( ALLSELECTED ( 'ToU_Conp_48h_period' ), 'ToU_Conp_48h_period'[Time] = MAX ( 'ToU_Conp_48h_period'[Time] ) ), [Hist Conp KWh] ) |
If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.
How to upload PBI in Community
Best Regards
Hi @lovedata,
Please try to update the formula of measure [Distributed Metered KWH ] as below and check it can return the correct result...
Distributed Metered KWH = MAXX ( FILTER ( ALLSELECTED ( 'ToU_Conp_48h_period' ), 'ToU_Conp_48h_period'[Time] = MAX ( 'ToU_Conp_48h_period'[Time] ) ), [Hist Conp KWh] ) |
If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.
How to upload PBI in Community
Best Regards
Hi @lovedata ,
Please post a sample data or sample pbix.
https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523#M6071...
Proud to be a Super User!
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 | |
98 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |