Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
EZimmet
Resolver I
Resolver I

Assistance with a formula

I know this one shouldn’t be rocket science it’s all me.

 

I’m pulling Power information on a Datacenter Rack

  • Rack Max Power Threshold
  • Devices within the Rack Max Power used
  • Then need the Difference between the two

-----------------------------------------

DAX

A.  Rack Threshold Total Watts = '_Asset'[Power Capacity Threshold]   -  Pulls correct data

B.  Devices in Rack Total Watts = '_Asset'[Power Capacity Defined]       - Needs to Sum field for Total 

C.  Power Till Threshold Reached = [Rack Threshold Total Watts] – [Devices in Rack Total Watts ]  - Need difference between A & B

------------------------------------------

- A - Left Image is correct

- B - Middle image I have the Sum turned on for the view If I remove the field ID  I'll still get multible lines as different devices have different Power usage just need the Total

- C - Right image should only show the difference 

EZimmet_0-1731519996234.png

 

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @EZimmet ,
Based on your description, and because I couldn't determine the composition of your data and the connections between them, I created some test data

vheqmsft_0-1731548359925.png

Create measures

Rack Threshold Total Watts = SUM(_Asset[Power Capacity Threshold])
Devices in Rack Total Watts = SUM(_Asset[Power Capacity Defined])
Power Till Threshold Reached = [Rack Threshold Total Watts] - [Devices in Rack Total Watts]

Final output

vheqmsft_1-1731548835885.png

 

If the above methods do not meet your needs, you can provide example data or pbix files so that we can help you faster.

 

Best regards,
Albert He


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

 

 

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @EZimmet ,
Based on your description, and because I couldn't determine the composition of your data and the connections between them, I created some test data

vheqmsft_0-1731548359925.png

Create measures

Rack Threshold Total Watts = SUM(_Asset[Power Capacity Threshold])
Devices in Rack Total Watts = SUM(_Asset[Power Capacity Defined])
Power Till Threshold Reached = [Rack Threshold Total Watts] - [Devices in Rack Total Watts]

Final output

vheqmsft_1-1731548835885.png

 

If the above methods do not meet your needs, you can provide example data or pbix files so that we can help you faster.

 

Best regards,
Albert He


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

 

 

Looks like we found a bad value in the DB - after removing it all is working  - TY for your assistance 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors