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

Dynamic Column based on 2 Date slicer selections

Hello Everyone,

 

I have two fields Month_1 and Month_2.In this two fields I have same set of Month/Year values.

I should be able select any month in Month_1 and another month in Month_2 in slicer.

The data for these two months should get sliced as separate dataframe or should be able to get identified in some other calculated column(flag of 0/1). so that I can do further calculations on data of this two selected months only.

 

In Spotfire I can easily do this using "Property Control" feature.

Is there any way we can implement this in Power BI?

 

Thanks.

1 ACCEPTED SOLUTION
v-eachen-msft
Community Support
Community Support

Hi @siddharthkapse2 ,

 

You could use ALLSELECTED() function to filter your data.

You could also use ISFILTERED() function to get the status and set the flag to 0 or 1.

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

View solution in original post

2 REPLIES 2
v-eachen-msft
Community Support
Community Support

Hi @siddharthkapse2 ,

 

You could use ALLSELECTED() function to filter your data.

You could also use ISFILTERED() function to get the status and set the flag to 0 or 1.

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

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.