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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

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