March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Really needing an expert on this one.....
I am creating a score card that I have pulled off You Tube. I have the sample BI to copy and have benn doing great until now. I am trying to add a symbol column . The DAX works well until I try to add selectitem 12 that involves a %. Here is the DAX below:
The DAX that I am using for row index 12 [2023] is "
Solved! Go to Solution.
I think you have % part of the text/value. Try this.
SelectItem = 12 && (VALUE( SUBSTITUTE([Classic prioritizes overall safety],"%","") ) / 100) >= 0.90
Column2 is calculated column and its syntax:
Measure syntax:
I was doing fast copy paste and has to do multiple edits in this reply. 🙂
One more question for you if you have the time. In my scorecard I have a couple of empty points in a column due to to data for that year. I would like to fill the box in with shaded in area. How do I create that when there is no data for that line.
The 2023 measure looks like the attacheed below. I want to add a selectitem for line 2 that I don't have a measure for. Is that possible. Or do I have to create a whole new measure for this?
I understood your question as you want to show some background ground color for the empty values.
You can do the conditional formatting. (easy in few steps you can do that)
1. Select the visual
2. Select the measure name
3. Right click, and select the conditional formatting, background color.
Something like that:
(or)
In my view, no need for new measure and pretty much few steps.
For the first timers, it is overwhelming.
Check this link
https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-conditional-table-formatting
(or) You can watch youtube videos on this topic too.
If this is not working, you can share the .pbix file (by removing sensitie info).
I tried this as well.
Nope this is the error that I get.
The syntax for 'SelectItem' is incorrect. (DAX(VAR SelectItem = SELECTEDVALUE('KPI Score Card'[Row Index])ReturnSWITCH(TRUE(),SelectItem IN {1,9,13,17}, "",SelectItem = 2 && [Overall Sastifaction 2024] <= 4.5,"▲",SelectItem = 2 && [Overall Sastifaction 2024] > 4.5,"▼",SelectItem = 5 && [2024 Overall Employee Sat] >= 4.5,"▲",SelectItem = 5 && [2024 Overall Employee Sat] >= 4.5,"▼",SelectItem = 6 && [Client agree needs met] < 90,"▼",SelectItem = 6 && [Client agree needs met] >= 90,"▲",SelectItem = 5 && [Overall Sastifaction with current position] < 4.5,"▼",SelectItem = 7 && [CP Communication with Classic] >= 4.5,"▲",SelectItem = 7 && [CP Communication with Classic] < 4.5,"▼",SelectItem = 10 && [Attention to safety] >= 4.5,"▲",SelectItem = 10 && [Attention to safety] < 4.5,"▼",SelectItem = 12 && Value([Classic prioritizes overall safety]) >= 0.90SelectItem = 22 && [2024Touchpoints] <= 152,"▼",SelectItem = 22 && [2024Touchpoints] > 152,"▲",UNICHAR(9724)))).
Can you try like this and see if it works?
SelectItem = 12 && [Classic prioritizes overall safety] >= 0.90
as
SelectItem = 12 && Value([Classic prioritizes overall safety]) >= 0.90
I have tried this
I think you have % part of the text/value. Try this.
SelectItem = 12 && (VALUE( SUBSTITUTE([Classic prioritizes overall safety],"%","") ) / 100) >= 0.90
Column2 is calculated column and its syntax:
Measure syntax:
I was doing fast copy paste and has to do multiple edits in this reply. 🙂
You are my HERO!!!!!!! thank you so so much. This has been making me crazy. I appreciate you willingness to help.
Thank you,
Wendy
Glad to hear that it helped! 🙂
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
23 | |
16 | |
15 | |
7 | |
6 |
User | Count |
---|---|
33 | |
29 | |
16 | |
13 | |
12 |