This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreGet Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher 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 May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 21 | |
| 21 | |
| 21 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 56 | |
| 53 | |
| 49 | |
| 26 | |
| 26 |