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
radhikalakshmi
Frequent Visitor

Power BI Matrix Report - Total Incorrect

Hello All,

 

I am trying to use a matrix visualization to view the count of issues created, updated and in backlog. While trying to retrieve backlog issues, PowerBI does and total of all rows instead of displaying the last value for the month. Could you please help out with this?

 

MonthCreated CountClosed CountGrowth (Created-Closed)Backlog (formula given below)
(+)February1037current value 13 but it should be 7.
February 13211
February 35145
February 42027

 

Calculation currently used for backlog column of the table.

" Backlog = CALCULATE(SUM('Table'[Growth]),ALL('Table'), 'Table'[Date] <= EARLIER('Table'[Date]))" 

 

Can somebody help me how to solve this? 

 

Thanks in advance!

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

Hi @radhikalakshmi ,

 

  • Method1——Change the summarization type from Sum to Max like this:

change summarize type from Sum to Max.jpg

 

  • Method2——Need an additional measure:
Measure based on Backlog column = IF(HASONEVALUE('Table'[Backlog]),MAX('Table'[Backlog]),MAXX(ALL('Table'),[Backlog]))

 

  • Method3—— Create a measure instead:
Backlog Measure instead of Backlog column = CALCULATE(SUM([Growth (Created-Closed)]),FILTER(ALL('Table'),'Table'[Date]<=MAX('Table'[Date])))

Here is the final output:

chang total field.PNG

Best Regards,
Eyelyn Qin
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-eqin-msft
Community Support
Community Support

Hi @radhikalakshmi ,

 

  • Method1——Change the summarization type from Sum to Max like this:

change summarize type from Sum to Max.jpg

 

  • Method2——Need an additional measure:
Measure based on Backlog column = IF(HASONEVALUE('Table'[Backlog]),MAX('Table'[Backlog]),MAXX(ALL('Table'),[Backlog]))

 

  • Method3—— Create a measure instead:
Backlog Measure instead of Backlog column = CALCULATE(SUM([Growth (Created-Closed)]),FILTER(ALL('Table'),'Table'[Date]<=MAX('Table'[Date])))

Here is the final output:

chang total field.PNG

Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Greg_Deckler
Super User
Super User

@radhikalakshmi  You need MM3TR&R: Matrix Measure Total Triple Threat Rock & Roll - Microsoft Power BI Community


@ 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!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

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.