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 am currently working on migrating Tableau Reports to Power BI. I am currently facing problems in converting the Tableau Calculation to DAX in Power BI. Needed help in this.
Calculation = IF [Type]="Unb_SOF" and [CSD Fiscal Qtr]=[Current Fiscal Quarter +1] THEN [Asp Adjusted Amount]
ELSE FLOAT(0) END
Type
CSD Fiscal Qtr
Current Fiscal Quarter +1
Asp Adjusted Amount
Above data are direct columns in power bi
Hi @Anonymous ,
Use the below measure:
Calculation= IF(AND(SELECTEDVALUE([Type])= "Unb_SOF"", SELECTEDVALUE([CSD Fiscal Qtr])=SELECTEDVALUE([Current Fiscal Quarter +1] )), [Asp Adjusted Amount], 0 )
I hope this helps!
User | Count |
---|---|
26 | |
10 | |
8 | |
6 | |
6 |
User | Count |
---|---|
32 | |
14 | |
11 | |
10 | |
9 |