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
Anonymous
Not applicable

kpi indicator doesn't sum

Hello,

 

I am trying to use the KPI visualization and am running into some difficulty.  It seems that the KPI value is showing the sum of the last day in the date range chosen.  I have created a new measure to find a running sum of the KPI value (a count of transactions), here is that measure: 

Cumulative Chargeback Count =
calculate( SUM ( tb_BI_factTransaction[Chargeback_count] ),
FILTER (ALL ( tb_BI_factTransaction[Chargeback_date] ),
tb_BI_factTransaction[Chargeback_date] <= MAX ( tb_BI_factTransaction[Chargeback_date] )
))

 

Despite using this measure, the value that is showing up in the KPI is still the sum of the last day's transactions.  Any help would be greatly appreciated!

4 REPLIES 4
v-jiascu-msft
Employee
Employee

@Anonymous

 

Hi,

 

There is nothing with the formula of the measure. It always show the value of the last unit of “Trend axis”. Maybe you can try to create a cumulative measure for "Indicator", and also the "Target goals".kpi indicator doesn't sum.jpg

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Best Regards!

Dale

 

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

Thank you for the advice, Dale.  I have used the cumulative measure in the indicator.  However, I haven't put anything in the target goals as I do not have one as of yet. The code for the cumulative measure I am using is in my original post.

vanessafvg
Super User
Super User

@Anonymous and if you used a normal card visual does it have the same issue?





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Anonymous
Not applicable

The card visual shows the what I would expect (38K), the kpi shows 221.  They are both pulling the same measure that I created.

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.