Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreNext 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
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:
Then I created a column in my data with Display Units
I then created a relationship between the two:
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.
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)
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 2 |
| User | Count |
|---|---|
| 7 | |
| 6 | |
| 5 | |
| 5 | |
| 5 |