This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hi All,
I've created the below calculated column and its giving the correct result but somehow my performance is getting impacted as number of records are in 100s Millions,
Is there any better approach to follow here?
Calculation used:
Regards
Solved! Go to Solution.
@Anonymous , Use switch statement in DAX measure,
EBU vs CBU =
var _v1 = VW_F_ACV[SALES_SEGMENT]
var _v2 = VW_F_ACV[ROLE] = ""
RETURN
Switch(true(),
_v2,
Switch(
true(),
OR(OR(_v1 = "Strategic", _v1 = "Enterprise"), _v1 = "Large Corporate"),
"EBU",
OR(OR(_v1 = "Mid Market", _v1 = "Commercial"), _v1 = "Undefined"),
"CBU",
_v2),
_v2
)What is needed is to club the scenarios, for example in all of the condition the Role is "" so apply conditons on sales_segment and after that if there are conditions remaining return role itself.
Thank You.
Getting the below error while trying to use it
FYI : Both columns (Role and Sales Segment) have same data type.
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 35 | |
| 32 | |
| 26 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 68 | |
| 36 | |
| 32 | |
| 25 | |
| 23 |