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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
po
Post Prodigy
Post Prodigy

KPI card displays different value to card and table - any way to show same value as other visuals?

Hi,

 

Noticed in a report where we have the ability to show a range of weeks, that the kpi visual only shows the latest value e.g last week rather than the average as illustrated below.

 

Looking at some posts, saw some other people have had issues with this. 

 

Is there a way to enusre kpi card shows same value as other visuals by default rather than just showing last value 

https://community.powerbi.com/t5/Desktop/KPI-Visual-shows-different-value-than-card/td-p/278187

 

https://community.powerbi.com/t5/Desktop/KPI-card-displays-incorrect-value/m-p/114835#M48410

 

kpi_card_vs_normal_card_different_values.jpg 

 

Thanks

 

1 ACCEPTED SOLUTION
v-lili6-msft
Community Support
Community Support

HI, @po

After my research, you could create a measure with ALL/ALLEXCEPT Function and use it Indicator Value.

like this:

AVG = AVERAGE(Table1[Qty])
Measure 2 = CALCULATE([AVG],FILTER(ALL(Table1),Table1[Date]<=MAX(Table1[Date])))
Measure 3 = CALCULATE(AVERAGE(Table1[Qty]),ALL(Table1[Date]))

Result:

basic databasic data

BeforeBefore

AfterAfter

Best Regards,

Lin

 

 

 

 

 

 

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

View solution in original post

2 REPLIES 2
v-lili6-msft
Community Support
Community Support

HI, @po

After my research, you could create a measure with ALL/ALLEXCEPT Function and use it Indicator Value.

like this:

AVG = AVERAGE(Table1[Qty])
Measure 2 = CALCULATE([AVG],FILTER(ALL(Table1),Table1[Date]<=MAX(Table1[Date])))
Measure 3 = CALCULATE(AVERAGE(Table1[Qty]),ALL(Table1[Date]))

Result:

basic databasic data

BeforeBefore

AfterAfter

Best Regards,

Lin

 

 

 

 

 

 

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

Thansk for update

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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