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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 104 | |
| 81 | |
| 66 | |
| 50 | |
| 45 |