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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hi, I have a calculated column in tableau like this:
Column1= if [A]<2 then [A]
elseif [A]>=4 then max([A],[B])
else [B]
END
How can I convert the same to DAX? Im having issues with max([A],[B]).
Thank you.
Solved! Go to Solution.
@Anonymous ,
Column1= Switch(True() ,
[A]<2 ,[A]
[A]>=4 , max([A],[B]) ,
[B]
)
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 64 | |
| 51 | |
| 46 | |
| 23 | |
| 19 |
| User | Count |
|---|---|
| 136 | |
| 110 | |
| 50 | |
| 32 | |
| 29 |