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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

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

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors
Top Kudoed Authors