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!View all the Fabric Data Days sessions on demand. View schedule
Hello,
I am trying to divide the "Budget per channel" for the channel "Distant Sales - E-shop - Web with delivery". I want to divide it per number of Stores (1,2,3 etc) per day in order not to have always the Total Budget for all stores for all days of the selected date range, displayed for the channel "Distant Sales - E-shop -Web with
delivery" when I drill down to stores.
Is there any way to do that?
Notes.
a. The number 4.270.881 is the Budget for all stores for the selecte date range for the "Distant Sales - E-shop - Web with delivery".
b. I have calculated the measure "Budget by channel" with a switch statement where I add the Budget for the different channels (E-shop etc) from different tables, that is way it is working for other channels.
Thank you!
Solved! Go to Solution.
Hi @Anonymous ,
You can calculate the number of stores in the selected date, then divide your calculated measure by the number of stores.
The measure may like below:
measure =
var stores_ = CALCULATE (DISTINCTCOUNT (Sales[store]),ALLSELECTED ('Date'[Date]))
return DIVIDE ([your measure],stores_)
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
You can calculate the number of stores in the selected date, then divide your calculated measure by the number of stores.
The measure may like below:
measure =
var stores_ = CALCULATE (DISTINCTCOUNT (Sales[store]),ALLSELECTED ('Date'[Date]))
return DIVIDE ([your measure],stores_)
Best Regards,
Liang
If this post helps, then please consider Accept 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!