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
I need to convert the tableau calculation to PBI Dax
if DATETRUNC('week', [Date1) < DATETRUNC('week', [Date2])
then 0
else zn([column1])+zn([Column2])
if ActualDate is less than delivered date then 0 else the sum should come.
I tried the same concept in power BI
a = if(
Solved! Go to Solution.
Don't use the .[day] hierarchy item.
@lbendlin Can you show me how throught the power BI file. I tried the same yet the result seems to be wrong.
Help is really appreciated.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 19 | |
| 13 | |
| 8 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 29 | |
| 18 | |
| 17 | |
| 11 | |
| 10 |