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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
matrix_user
Helper III
Helper III

DAX used in calculated column for slicer.

Hi PBI Users,

 

I saw this video on building dynamic slicers but now I can't find it and so I am unable to post a link on this Community Forums. I have been able to download a sample pbix file so maybe someone will recognise it.

matrix_user_1-1643069077981.png

 

I am focusing on build dynamic slicers at this point in time and I wanted to understand how in this video created, the youtuber creater the 'Desc' column. The 'Desc' column is some kind of referene to the 'Period' column.  For example, 'W1 2019' would be selected as 'W' in the slicer. '2021' would be 'Y' and 'Jan 2019' would be 'M'.

 

Does anyone know the DAX I could use to use to build the 'Desc' column? 

 

matrix_user_0-1643068743715.png

 

Thank you in advance.

5 REPLIES 5
matrix_user
Helper III
Helper III

Is anyone able to help me with my original question? Still stuck on it 😞

Thank you,

matrix_user
Helper III
Helper III

Hi Amine, 

The 'Index Dexc' is the order of how 'Desc' appears on the slicer, on Power BI. 

'2019' = 1,

'Q2 2021' = 2,

'May 2019' = 3

'W32 2021' = 4

OH ok I see, the images you uploaded are from the Youtuber and you want to create something similar with your model is it not? if so, send us a sample of your model or are you looking for a tutorial..!

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

I dont have a sample of mine at the moment. I do have the other sample that was used on YouTube . How do I send it?

aj1973
Community Champion
Community Champion

Hi @matrix_user 

Does this column indicate the type of the period

aj1973_0-1643071318199.png

 

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors