Reply
Debsidrian
Frequent Visitor
Partially syndicated - Outbound

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

Syndicated - Outbound

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

Syndicated - Outbound

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

Syndicated - Outbound

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

avatar user

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)