Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
Hello PowerBI Gods!
Hope all is well and thank you in advance.
Here is my issue. So I have a table (see picture) that has a bunch of IDs and names. What Im trying to achieve, is that if the column defaults to just a "Policy OID broker", I want it to display something like this: Unknown - 1234 ... Again, only for data that defaults to the "Policy OID broker"
I created a calculated column, and when I try to modify the dax to achieve what I want, I get an error.
Hi @mvelazquez ,
Not sure if I understand exactly, but try this. When you go to a measure, unlike a calculated column, it does not have row contex. So in order to return a scalar value, it needs to be aggragated, MIN, MAX, SUM etc. But when you apply it to a visual it is filtered by the visual, or by slicers, and they provide the filter context.
Broker Name = IF(ISBLANK(TRIM(MAX(D_BROKER[BUSINESS_NAME]))),IF(ISBLANK(TRIM(MAX((D_BROKER[PARTY_NAME]))),"Unknown - " & MAX(D_BROKER[POLICY_OID_BROKER]),MAX(D_BROKER[PARTY_NAME])),MAX(D_BROKER[BUSINESS_NAME]))
Let me know if this works for you, or if it does not, provide the error measure, please.
Let me know if you have any questions.
If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos 👍are nice too.
Nathaniel
Proud to be a Super User!
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.