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

Filter issue

Hi All, I need to be able to use a simple measure with different filters. I cant seem to get it to work

 

The slicer will be CRSLevel so I have used an IF(ISFILTERED statement.

I am tring to filter on a second table. I 

Does anyone know if there is a simple issue with the DAX? I think the relationships between the tables are ok.

 

National Result 3 = IF(
			ISFILTERED('2012-2017 SES National Analysis UA'[CRSLEVEL (groups)]),
            CALCULATE([UA Indicator: Overall Satisfaction Experience],
            FILTER(ALL('Uni Classifications'),
            'Uni Classifications'[Group]="National")
            )
)
 
1 ACCEPTED SOLUTION
v-juanli-msft
Community Support
Community Support

Hi @Anonymous

I make a test with IF(ISFILTERED statement, when i do not select any in the slicer, the table visual shows blank

Measure =
IF (
    ISFILTERED ( Sheet4[grouplevel] ),
    CALCULATE ( SUM ( Sheet3[col1] ), FILTER ( ALL ( Sheet3 ), [col2] = "n" ) )
)

when i select "1" from slicer, it will show values

9.png

my tables' relationship:

Sheet3   (many to one)   Sheet4

 

Please show me what's wrong on your side so i can reproduce and analyze this.

 

Best Regards

Maggie

View solution in original post

2 REPLIES 2
v-juanli-msft
Community Support
Community Support

Hi @Anonymous

I make a test with IF(ISFILTERED statement, when i do not select any in the slicer, the table visual shows blank

Measure =
IF (
    ISFILTERED ( Sheet4[grouplevel] ),
    CALCULATE ( SUM ( Sheet3[col1] ), FILTER ( ALL ( Sheet3 ), [col2] = "n" ) )
)

when i select "1" from slicer, it will show values

9.png

my tables' relationship:

Sheet3   (many to one)   Sheet4

 

Please show me what's wrong on your side so i can reproduce and analyze this.

 

Best Regards

Maggie

Ashish_Mathur
Super User
Super User

Hi,

 

Please share some data and also show the expected result.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

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.