cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
DroiD03 Frequent Visitor
Frequent Visitor

IsFiltered() does not work as a column

Hi,

 

I am trying to achieve a simple functionality using ISFILTERED() DAX function. When I use it in calculated measure it works but when I am creating a Calculated column it doesn't.

T_C = IF(ISFILTERED('Dim Date'[MS Fiscal Year Name]),1,0)  <-Column code

T_M = IF(ISFILTERED('Dim Date'[MS Fiscal Year Name]),1,0)  <-Measure code

 

1.PNG

 

 

 

 

 

 

 

 

 

Why it is like that? Can someone explain please.

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: IsFiltered() does not work as a column

Hi @DroiD03

You can't filter calculated columns by slicers.

Calculated columns are only calculated once - when you load/refresh your data model. After that, they contain fixed, static values that can not respond to slicers.

To achieve your goal, you will need to use measures, not calculated columns. 

 

See differences below

calculated column VS measures

 

Best Regards

Maggie

 

View solution in original post

1 REPLY 1
Community Support Team
Community Support Team

Re: IsFiltered() does not work as a column

Hi @DroiD03

You can't filter calculated columns by slicers.

Calculated columns are only calculated once - when you load/refresh your data model. After that, they contain fixed, static values that can not respond to slicers.

To achieve your goal, you will need to use measures, not calculated columns. 

 

See differences below

calculated column VS measures

 

Best Regards

Maggie

 

View solution in original post

Helpful resources

Announcements
New Kudos Received Badges Coming

New Kudos Received Badges Coming

Kudos to you if you earned one of these! Check your inbox for a notification.

Microsoft Implementation for Communities Wins Award

Microsoft Implementation for Communities Wins Award

Learn about the award-winning innovation that was implemented across Microsoft’s Business Applications Communities.

Power Platform World Tour

Power Platform World Tour

Find out where you can attend!

Top Kudoed Authors (Last 30 Days)
Users online (1,418)