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
Anonymous
Not applicable

Need 2 Month dropdown slicers showing 'From Month' and 'To Month' and filter report for range

What we have :

We have a Time Dimension for which the granularity is Month-Year and the Key column has values like 201810 (YYYYMM).

Also we have, 'First Day of Month' as 'Date' Data type column.

 

Requirement :

We want, 2 Month level drop-down slicers to select ‘From Month’ and ‘To Month’ in the Format (October, 2018).

Based on this selection, the Fact table should be filtered for all the months between the selected ‘Initial Month’ and ‘Ending Month’.

 

Problem :

Now, if we take it based on Month-Year, since it’s data type is not ‘Date’, the in_range or the ‘between’ doesn’t work.

So we need to be able to somehow get these slicer’s selected values, process/transform them into Month Year Key and then apply the filter on the Fact Table based on this Month Year Key.

 

Thanks in Advance.

3 REPLIES 3
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @Anonymous,

 

For your requirement, what about use date between slicer?

 

If it is convenient, could you share some data sample and your desired output so that we could help further on it?

 

Best  Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

The client’s requirement is to show 2 separate Month Drop downs.

We showed them Date Slicers, they need Month Drop Downs only. Not fine with Date Slicers.

 

We have:

Fiscal Month Key

Month Name

First Day of Month

201801

Jan 2018

01-01-2018

201802

Feb 2018

02-01-2018

 

We want to show 2 drop downs showing “Month Name” Columns.

User selects “Starting Month” in the first Drop Down and “Ending Month” in the second Drop down.

Expectation is that based on this selection, the Fact data (Measure) should get filtered for all the months falling between this selected range.

 

Example :

User selects “Jan 2018” in first dropdown

And selects “Sep 2018” in second dropdown.

 

Data should be filtered : Where FirstDayOfMonth between 01-01-2018 and 09-01-2018.

Hope this clarifies the scenario. Please let me know if any more details are required.

Did we get any solutions to this?

 

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.