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

Calculated column not filtering matrix using a measure as a value when I collapse rows

Hoping this is an easy fix since I'm so close to what I want to show, but I need to finish this asap so any help is appreciated!

I currently have a measure that indexes data against a norm across weeks and I'm using this measure in the value field of a matrix.

The requirements are that I only show the latest two weeks averaged together in this matrix.

So I wrote a calculated column that surfaces true if the week is the latest two weeks.

When I apply that calculated column as a filter or slicer to the matrix and the weeks are listed out, then the filter condition works just fine and only the relevant data surfaces.

However, when I collapse the weeks and only show the top category row, it no longer averages just the two relevant weeks for some reason?!

Does anyone know why this might be happening? 

In this screen grab there is data for -4 through 0, but in the expanded unformatted table only the correct data is showing. 

If I take that table and collapse to the higher level row then it no longer averages just those two values (see the data point on the right in the same table that's been formatted):

mpml_0-1660027142849.png

Thank you!

1 REPLY 1
Henrykong_
Resolver I
Resolver I

Hi @mpml ,

 

I am unable to reproduce this problem for the time being. Can you provide the relevant test data so that I can do further testing?

How to Get Your Question Answered Quickly - Microsoft Power BI Community


Looking forward to your reply.


Best Regards,
Henry

 

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.