March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi everyone!
So my question is about how to create a measure that calculates the percentage of revenue respect the total revenue of the year selected. Here is an example of the data:
OK so I have 4 different slicers. One for each category and year. So what I want to show is the % of the revenue respect the year/years selected in the revenue. For example: if I filter for 2018, the total is €105. So if afterwards I filter by category I want to see the % of the categories I selected respect the total of 2018.
The result will be to show a card with the percentage of 2018 (if I select 2018 in the slicer):
100% if only 2018 is selected
57.14% if 2018 and A7 is selected
100% if 2017 and 2018 is selected
27.27% if 2017/2018/B4 is selected
And so on...
The objective it to show the % of the revenue respect the year/s selected.
Sorry if I didn't explain myself very well...
If you have any doubt with the context I'll be very pleased to help you.
Thank you so much in advance!
Enzo
Solved! Go to Solution.
You want to use CALCULATETABLE. CALCULATETABLE allows you to feed it filters and only those filters are modified from the original context. You can see how this works in my Time Intelligence The Hard Way Quick Measure here:
You want to use CALCULATETABLE. CALCULATETABLE allows you to feed it filters and only those filters are modified from the original context. You can see how this works in my Time Intelligence The Hard Way Quick Measure here:
Thank you so much Greg!
Your post was very helpful. Finally, I solved my problem.
Best regards,
Enzo
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
133 | |
90 | |
88 | |
64 | |
58 |
User | Count |
---|---|
201 | |
137 | |
107 | |
70 | |
68 |