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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi,
I am wanting to say the following in dax, could anyone help.
if %digital=100 &NewspaperAds=0 & MagAds = 0 & Radio Ads=0 then Digitalonly = 100
Thanks
Chris
Solved! Go to Solution.
Please elaborate a little more on your question for us to understand what we need to help you with.
Are you trying to create a new column thats named Digitalonly? Are %digital, NewspaperAds, Radio Ads other columns in your table?
If it's a calculated column you want then you can reference the other columns by 'tablename'[column] and && will create a logical and for your conditions.
Br,
Magnus
Please elaborate a little more on your question for us to understand what we need to help you with.
Are you trying to create a new column thats named Digitalonly? Are %digital, NewspaperAds, Radio Ads other columns in your table?
If it's a calculated column you want then you can reference the other columns by 'tablename'[column] and && will create a logical and for your conditions.
Br,
Magnus
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 35 | |
| 34 | |
| 27 |
| User | Count |
|---|---|
| 137 | |
| 97 | |
| 74 | |
| 66 | |
| 65 |