Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
72 | |
71 | |
57 | |
38 | |
36 |
User | Count |
---|---|
81 | |
67 | |
61 | |
46 | |
45 |