Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
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 |
---|---|
16 | |
13 | |
12 | |
11 | |
10 |
User | Count |
---|---|
19 | |
16 | |
15 | |
11 | |
9 |