The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have a calculated column with this formula and it works fine:
Solved! Go to Solution.
Hi, @krichmond
You can try the following methods.
Uninsured Marketing Designator = IF(LEFT(mv_perfex[clientgroup], 2) = "UI", 1, 0)
Uninsured Marketing Quantity = IF ([Uninsured Marketing Designator]=1, mv_perfex[Marketing Quantity])
Also try:
Uninsured Marketing Designator = IF(LEFT(mv_perfex[clientgroup], 2) = "UI", TRUE(), FALSE())
Uninsured Marketing Quantity = IF ([Uninsured Marketing Designator]=TRUE(), mv_perfex[Marketing Quantity])
Is this the result you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @krichmond
You can try the following methods.
Uninsured Marketing Designator = IF(LEFT(mv_perfex[clientgroup], 2) = "UI", 1, 0)
Uninsured Marketing Quantity = IF ([Uninsured Marketing Designator]=1, mv_perfex[Marketing Quantity])
Also try:
Uninsured Marketing Designator = IF(LEFT(mv_perfex[clientgroup], 2) = "UI", TRUE(), FALSE())
Uninsured Marketing Quantity = IF ([Uninsured Marketing Designator]=TRUE(), mv_perfex[Marketing Quantity])
Is this the result you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@krichmond , seem like Uninsured Marketing Quantity is used in columns that have used to generate this , indirectly
refer: https://www.sqlbi.com/articles/avoiding-circular-dependency-errors-in-dax/
If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
User | Count |
---|---|
78 | |
74 | |
43 | |
32 | |
28 |
User | Count |
---|---|
104 | |
93 | |
51 | |
51 | |
46 |