Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
In this table, I wasn 80Mil against all the machinetypes. I created the measure electricity total usuage like this:
Solved! Go to Solution.
Try this measure
Electricity Total Usage =
CALCULATE(
SUM('Fact ResourceUsage'[Usage]),
'Fact ResourceUsage'[ResourceTypeKey] = 1,
REMOVEFILTERS('Fact ResourceUsage'[MachineTypeKey])
)
Hi aduguid ,thanks for the quick reply, I'll add more.
Hi @NKTMS ,
Make sure that the field you use in your visuals is from the fact table and not from the dimension table.
Or check if you are referencing the wrong column in DAX.
If I understand you wrongly, please provide simple data and show the expected results in pictures.
How to provide sample data in the Power BI Forum - Microsoft Fabric Community
Best Regards,
Wenbin Zhou
Hi aduguid ,thanks for the quick reply, I'll add more.
Hi @NKTMS ,
Make sure that the field you use in your visuals is from the fact table and not from the dimension table.
Or check if you are referencing the wrong column in DAX.
If I understand you wrongly, please provide simple data and show the expected results in pictures.
How to provide sample data in the Power BI Forum - Microsoft Fabric Community
Best Regards,
Wenbin Zhou
Try this measure
Electricity Total Usage =
CALCULATE(
SUM('Fact ResourceUsage'[Usage]),
'Fact ResourceUsage'[ResourceTypeKey] = 1,
REMOVEFILTERS('Fact ResourceUsage'[MachineTypeKey])
)
User | Count |
---|---|
12 | |
12 | |
8 | |
8 | |
6 |
User | Count |
---|---|
27 | |
19 | |
13 | |
11 | |
7 |