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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.