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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello.
I need a DAX for the requirement below:
I am trying to add a card to report. This card should calculate the running average of store openings per month. And, it should be filterable by the calendar. For example, without any filtering, I should see 20 store openings divided by 6 months to yield 3.33:
And, if I filter for March thru May, average should yield 2.33:
Here's a link to a simple data model:
Link
Thanks.
Solved! Go to Solution.
Hi @etane
You can use dax:
the updated pbix is attached
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
Thanks @Ritaf1983 !
Your logic is sound. My actual model has activity across multiple years, products and status. With you help, I was able to come up with a dax that suits my model.... something like this:
Hi @etane
You can use dax:
the updated pbix is attached
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
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!