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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
HDD328
Frequent Visitor

Measure displaying different values in matrix and card

Hello,

I have a matrix thats meant to display percentages broken down by their code. On the matrix I am displaying 83% when it should be around 4% as the card shows. I have the same measure in the card as the matrix and they're displaying different values. Has anyone seen this before?

 

HDD328_0-1721043168709.png

 

3 REPLIES 3
amitchandak
Super User
Super User

@HDD328 , Please share measure formula

HDD328_0-1721059843537.pngHDD328_1-1721059864089.pngHDD328_2-1721059881087.png

HDD328_3-1721059905274.png

 

Hi,

@amitchandak , Thanks for your concern about the problem, and i want o offer some more infotmation for user to refer to.

hello @HDD328 , you can try to change your dayiff measure to the following.

 

DayDiff =
VAR _rangestart =
    MINX ( ALLSELECTED ( BNS_DT_Data ), [PRODDATE] )
VAR _rangeend =
    MAXX ( ALLSELECTED ( BNS_DT_Data ), [PRODDATE] )
RETURN
    DATEDIFF ( _rangestar, _rangeend, DAY ) + 1

 

If the solution cannot help, can you provide some sample data and the output you want so that can provide more suggestion for you.

 

Best Regards!

Yolo Zhu

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

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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