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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.