Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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...