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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Debsidrian
Frequent Visitor

Need Help with DAX!!

I am not getting the correct calculation out of DAX.

 

Debsidrian_0-1694659926952.png

 

 Right number should be 107,568

 

Dc Count = DISTINCTCOUNT(Query1[Dc_nbr])

 

Damage Cases average per Dc_nbr =
AVERAGEX(
    KEEPFILTERS(VALUES('Query1'[Dc_nbr])),
    CALCULATE(SUM('Query1'[Damage Cases]))
)
 
Dc Count x Damage Cases average per Dc_nbr =
[Dc Count] * [Damage Cases average per Dc_nbr]
4 REPLIES 4
Debsidrian
Frequent Visitor

File: VODC V1.1.pbix (Page 1 tab)

Hi,

Your formulas are fine.  You just need to remove the filter from the Top 5 condition from the "Damaged cases average per DC_nbr" card visual

Ashish_Mathur_0-1695081491005.png

 

 


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Ashish_Mathur
Super User
Super User

Hi,

Share the download link of the PBI file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Debsidrian
Frequent Visitor

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.