cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Users Online
Currently online: 336 members 3,277 guests
Please welcome our newest community members: