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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Differents results in 2 differents visuals

Hi,

I create a calculated measure and the result is different in a table visual and a card visual. Here is the measure:

 

 

Pmp gross_date = 

 var BoisNet = CALCULATE(sumx(paquets;paquets[PMPR]);FILTER('end';'end'[DateCommande] = 1))
 var BoisGross = CALCULATE(ROUNDDOWN(sumx(paquets;paquets[PMPR]) * 1,08;0);FILTER('end';'end'[DateCommande] = 1))

 Return
if(or(SELECTEDVALUE(paquets[RefEtatBois]) = 6;SELECTEDVALUE(etatbois[RefEtatBois]) = 5);BoisNet;BoisGross)

The filter is because I choose a date to create the report. Here is the result:

Capture.JPG

 

The calculated measure in the column of the table visual and in the card visual (surrounded with red circle) is the same.

I don't understand why.

Thanks

2 REPLIES 2
Greg_Deckler
Community Champion
Community Champion

Tough to say exactly, are you 100% sure that you don't have some filter on that table visual? What else is in that table?



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

I share the file. If i remove the column «Etat» of the table visual, I get the same result then the card visual.

Thanks

 

https://www.dropbox.com/s/nqavv2nyeick95d/Test.pbix?dl=0

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.