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
joshua1990
Post Prodigy
Post Prodigy

Toogle MTD and QTD

Hello everybody!

I need a toggle button to switch between MTD and QTD Sales on one view.

In my calendar table, I have a TRUE/FALSE column for MTD and QTD.

 

How would you build a button to switch between MTD and QTD?

Would you use a button and a bookmark? Or is there a more elegant way like a filter?

 

1 ACCEPTED SOLUTION
V-pazhen-msft
Community Support
Community Support

@joshua1990 
Lets if you have MTD and QTD measure, you can create a slicer to display the selected one on the visual. You can take look my reply and the sample pbix in this post
https://community.powerbi.com/t5/Desktop/Need-to-display-only-selected-ones-in-the-chart/m-p/1149907

 

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

View solution in original post

3 REPLIES 3
V-pazhen-msft
Community Support
Community Support

@joshua1990 
Lets if you have MTD and QTD measure, you can create a slicer to display the selected one on the visual. You can take look my reply and the sample pbix in this post
https://community.powerbi.com/t5/Desktop/Need-to-display-only-selected-ones-in-the-chart/m-p/1149907

 

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

mahoneypat
Employee
Employee

You could do this with Buttons and Bookmarks, but also consider this approach with a disconnected table described in this article

https://www.fourmoo.com/2017/11/21/power-bi-using-a-slicer-to-show-different-measures/

Once you make the slicer (oriented horizontal), it will looks like MTD and QTD toggle buttons.

 

If this works for you, please mark it as the solution.  Kudos are appreciated too.  Please let me know if not.

Regards,

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


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.