cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper IV
Helper IV

View various metrics with a Toggle on Pivot Charts? Other than bookmarks.

Hello wonderful forum users!

 

Next on my task list is to create a report with a toggle to view metrics by a different unit.  For example, imagine you have a pivot table with Resources being the rows and Week Numbers being the columns.  I may want the values in the center to be billed hours, non-billed hours, total hours, or billed dollars.  I'd be ok if the toggle was limited to just two (off/on) though.

 

In researching this it seems one method is to use bookmarks where I essentially have to make multiple copies of the table overlapping each other.  However, is that really the only option available?  It seems a bit overly complex for such a straight forward requirement.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Microsoft
Microsoft

Re: View various metrics with a Toggle on Pivot Charts? Other than bookmarks.

Hi @bflury ,

To view metrics by a different unit, maybe you can create a new table including the unit, for example, thousand, million...and put this column in a silcer, create a measure like this:

Measure = 
var uint = SELECTEDVALUE(test[Unit])
return
IF(
    uint = "K",
    DIVIDE(SELECTEDVALUE('Table'[Value]),1000) & "K",
    IF(
        uint = "M",
        DIVIDE(SELECTEDVALUE('Table'[Value]),1000000) & "M"
    )
)

slicer result2.png

sr3.png

This is just a sample, you can refer it depending on your specific situations.

 

Best Regards,
Yingjie Li

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
Highlighted
Super User IV
Super User IV

Re: View various metrics with a Toggle on Pivot Charts? Other than bookmarks.

@bflury , did not get it completely

Refer

https://community.powerbi.com/t5/Desktop/Slicer-MTD-QTD-YTD-to-filter-dates-using-the-slicer/td-p/50...

Dynamically change chart axis in Power BI
https://www.youtube.com/watch?v=6jeSIRpjv0M

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



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
My Recent Blog -Week is not so Weak Connect on Linkedin

Proud to be a Super User!

Highlighted
Microsoft
Microsoft

Re: View various metrics with a Toggle on Pivot Charts? Other than bookmarks.

Hi @bflury ,

To view metrics by a different unit, maybe you can create a new table including the unit, for example, thousand, million...and put this column in a silcer, create a measure like this:

Measure = 
var uint = SELECTEDVALUE(test[Unit])
return
IF(
    uint = "K",
    DIVIDE(SELECTEDVALUE('Table'[Value]),1000) & "K",
    IF(
        uint = "M",
        DIVIDE(SELECTEDVALUE('Table'[Value]),1000000) & "M"
    )
)

slicer result2.png

sr3.png

This is just a sample, you can refer it depending on your specific situations.

 

Best Regards,
Yingjie Li

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

Highlighted
Helper IV
Helper IV

Re: View various metrics with a Toggle on Pivot Charts? Other than bookmarks.

@v-yingjl this is genius!!!  A little "hacky", and honestly way more effort than it should be, but still I like the creativity of it!

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Upcoming Events

Upcoming Events

Wondering what events you could join or have an event to promote yourself? Check out our Upcoming Events.

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

We are thrilled to announce we will begin running a monthly webinar series named Power BI Dev Camp.

Top Solution Authors
Top Kudoed Authors