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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Avermaak
Helper I
Helper I

Unit Slicer Help

I need some assistance with converting the display units in my visual, from normal amount to Thousand or MIL using a slicer. 

Normally you adjust your visual by changing the display units in the Visualizations editing options or by using a button and bookmark to change the visual when selecting it, but I would like to achieve this with a DAX formula and slicer as there are too many visuals and too many bookmarks already. I would not like to slow down my model.

 

What I have done so far: 

 

I have created a slicer table for the slicer pane:

Avermaak_0-1678190191294.png
Avermaak_1-1678190207212.png

Then I created a column in my data with Display Units 

Avermaak_2-1678190252013.png

 

I then created a relationship between the two:

Avermaak_3-1678190271627.png

 

Then I created a formula to filter the values when I select the appropriate display Unit:

 

Unit Format =

VAR SelectedOption = SELECTEDVALUE(Billable_COE[Display Units])

VAR Multiplier = LOOKUPVALUE('Unit Slicer'[Multiplier], 'Unit Slicer'[Display Units], SelectedOption)

VAR SummaryTable =

    SUMMARIZECOLUMNS(

        'Billable_COE'[Ad Hoc Bonus],

        'Billable_COE'[Billable COE],

        'Billable_COE'[Business Intitiatives],

        'Billable_COE'[Business Support],

        'Billable_COE'[Corporate Social Resp],

        'Billable_COE'[General Admin & Mng],

        'Billable_COE'[Learning & Development],

        'Billable_COE'[Leave & PHO],

        'Billable_COE'[Market and Brand Development],

        'Billable_COE'[Outstanding Timesheets],

        'Billable_COE'[Overtime],

        'Billable_COE'[Proposal and Client Engagment],

        'Billable_COE'[Rate Differences],

        'Billable_COE'[Wages Non Billable],

        "CalculatedValue", SUM('Billable_COE'[Billable COE]) / Multiplier

    )

RETURN

    MAXX(SummaryTable, [CalculatedValue])

 

But unfortunately it is not working..... can someone please help me as I am not sure what I am doing wrong.

 

1 REPLY 1
olgad
Resident Rockstar
Resident Rockstar

Hi,
please let me know how you created the column Display units in your data, whats the formula? and ist this only column Billable COE that you want to divide with the selected multipier? How do you want to display the units? 
But to start with, dont use / for division, DIVIDE(SUM('Billable_COE'[Billable COE]) ,Multiplier)


DID I ANSWER YOUR QUESTION? PLEASE MARK MY POST AS A SOLUTION! APPRECIATE YOUR KUDO/LIKE!
PROUD TO BE A SUPER USER!
Best Stories, Interesting Cases: PowerBI Storytime Newsletter
Linkedin Profile: Linkedin
YouTube Channel: PowerBI Storytime

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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