The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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.
User | Count |
---|---|
26 | |
10 | |
8 | |
6 | |
6 |
User | Count |
---|---|
31 | |
12 | |
10 | |
10 | |
9 |