Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi everyone,
I'm new using power bi, and i need some of your help, I'm trying to create a measure to get the same filter result as if it was made from the data table, this is the result I'm looking for (image1) so i began with the basics using Tons = CALCULATE(SUM(Tons [Tons])) getting image2 as a result but i don't know what else to do to show the result either by month, quarter or year once putting the measure in visualizations and slicers.
Image1
Image2
Hi @BSM23 ,
It seems that the row field does not filter values, check the relationship first.
Please check the pbix file.
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
Your formula sums up every value of Tons.
Why do you use CALCULATE? You just need a breakdown of SUM of Tons by month, SUM(Tons[Tons]).
If you don´t want adjust filter context (e.g. set filter on specific dimension) you don´t need CALCULATE in your formula.
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
71 | |
70 | |
38 | |
28 | |
26 |
User | Count |
---|---|
97 | |
88 | |
59 | |
43 | |
40 |