Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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
Thanks
Solved! Go to Solution.
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 data
Before
After
Best Regards,
Lin
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 data
Before
After
Best Regards,
Lin
Thansk for update
User | Count |
---|---|
77 | |
74 | |
42 | |
32 | |
28 |
User | Count |
---|---|
99 | |
92 | |
50 | |
47 | |
46 |