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,
I have below columns in Power BI table. I need to show the running total for every day in the table how to show everyday total.
Please help me on this.
Thanks,
Raj
Solved! Go to Solution.
@Anonymous
This dax is the running total formula for a calculate column. Dax for measure:
Measure = Sumx(filter(allselected(Table), [lastenrollon] = max( [lastenrollon]) && [Index] <=max([Index])), [valuecolumn])
Or
Measure = Calculate(sum([valuecolumn]), filter(allselected(allselected(Table), [lastenrollon] = max( [lastenrollon]) && [Index] <=max([Index])),
Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.
@Anonymous
This dax is the running total formula for a calculate column. Dax for measure:
Measure = Sumx(filter(allselected(Table), [lastenrollon] = max( [lastenrollon]) && [Index] <=max([Index])), [valuecolumn])
Or
Measure = Calculate(sum([valuecolumn]), filter(allselected(allselected(Table), [lastenrollon] = max( [lastenrollon]) && [Index] <=max([Index])),
Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.
@Anonymous , As you do not have timestamp in date you need index for running total column
https://stackoverflow.com/questions/45715963/creating-an-index-column-for-power-bi
countx(filter(Table, [lastenrollon] = earlier( [lastenrollon]) && [Index] <=earlier([Index])), [lastenrollon])
daily total
countx(filter(Table, [lastenrollon] = earlier( [lastenrollon]) && [Index] <=earlier([Index])), [lastenrollon])
use sumx for value columns
Hi,
I created Index Column and named as SNO and tried doing your query mentioned above. the above is not executing.
Please help on this.
Thanks,
Rajesh
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 |
|---|---|
| 97 | |
| 81 | |
| 73 | |
| 46 | |
| 35 |