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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
mcrv1991
New Member

Measure blank when filter on all or multiple members selected.

Hello all,

 

In my Power BI dashboard I have calculated a measure with the following DAX statement:

 

VCA Index = (CALCULATE(SUM('FACT - ROLAP'[DATA_VALUE]),FILTER('FACT - ROLAP','FACT - ROLAP'[Measure]="VCA-index"))) / 100

 

This gives me back a value from the Fact table, which is a percentage. I also have the filters 'Years' and 'Periods'. I don't want the measure to aggregate when my 'periods' or 'years' filter is on 'ALL' or multiple members are selected. Then I want the measure to be empty (NULL/BLANK).

 

So for example: when my periods filter is on 'period 3' I want the value of the DAX statement. But when my periods filter is on 'ALL', I want it to be BLANK.

 

I have tried some things but it didn't work out. Hopefully you can give me some advise.

 

Thanks in advance.

 

Mike

0 REPLIES 0

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.