Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi Team,
Please help me in converting below formula from Tableau to PowerBI
IF avg(INT([Fiscper])) <avg( INT([Current Fiscper]) )
THEN sum([Act Inv])
ELSE RUNNING_SUM(SUM([Inventory National]))
END
Hi Raks,
For calculating running total based on date you need to create calander table separately and create relationship.
The final measure looks like below.
IF ( avg(INT([Fiscper])) <avg( INT([Current Fiscper]) ),
sum([Act Inv]),
CALCULATE(SUM([Inventory National]), Filter(all(Table[Date]),Table[date] <= Max(Table[date]))
Appreciate a Kudos!
If this helps and resolves the issue, please mark it as a Solution!
Regards,
N V Durga Prasad
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
106 | |
97 | |
80 | |
67 | |
63 |
User | Count |
---|---|
147 | |
110 | |
108 | |
85 | |
64 |