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.
Hi,
I have two data sets merged into 1 by a join.
in data set A I have complete data for forecast at volume and value level.
in data set B I only have the volumes only which are available for sales.
Sample data set:
I need to calculate the value of the constraint Forecast in value based on following:
- Blanks means the volume and value are same as the unconstraint forecast.
- Value is calculated by dividing value by volume for each SKU. (i m using sumx formula to calculate the value for each line)
For instance for SKU 4, the constraint value is 6000.
And total constraint value across all SKUs is 187,600
I am getting following result when I view it SKU-wise. However, at the total level its not summing up unconstrained + constrained forecast value and just giving a sum of constrained value.
(not based on sample above)
Would really appreciate if someone can help me out on calculating the correct total constraint value!
Hi @Anonymous ,
Try using this measure:
https://community.powerbi.com/t5/DAX-Commands-and-Tips/Cumulative-total-of-measure-to-show-in-card/m-p/1906157#M41150
I hope this helps!
Hi Thanks, but this isnt working for me.
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 |
---|---|
10 | |
9 | |
8 | |
8 | |
7 |
User | Count |
---|---|
13 | |
12 | |
11 | |
11 | |
8 |