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
Sowmiya
Helper III
Helper III

Dax for YTD,QTD,WTD,DTD, Half Year

Hi Community,

 

Need DAX for YTD, MTD, QTD, WTD, DTD, Half Year in single slicer visual. Here In my case I'm having date field in which slicing measure to be calculated.

 

Thanks In Advance,

Regards,

Sowmiya

4 REPLIES 4
v-danhe-msft
Employee
Employee

Hi @Sowmiya,

Based on my research, I am afraid you could not use measures as slicer, but you could refer to using bookmarks and buttons to show your visual in differnt Scenes:

Reference:http://radacad.com/bookmarks-and-buttons-making-power-bi-charts-even-more-interactive

 

 

Regards,

Daniel He

 

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
CheenuSing
Community Champion
Community Champion

Hi @Sowmiya

 

Can you share some sample data and solution you expect. How many slicers are you going to have ? A single slicer which has options for YTD, MTD, QTD,WTD,DTD, Half -Year ???

 

 

Cheers

CheenuSing

Did I answer your question? Mark my post as a solution and also give KUDOS !

Proud to be a Datanaut!

Hi @CheenuSing

Yes, I need single slicer for YTD,QTD,WTD,DTD, Half Year.  

Following are my datasetsSlide2.jpg

I need function for following slicer format

 

2.1.png

Thanks In Advance 

@Sowmiya

 

You cant create slicers from measures (calculated fields)

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.