Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hi All,
I have created a measure that allows me to see the total sales for all stores that have a rate that is not blank. This report will be focused on a region, so a slicer will decide which region will be showing. Now, I would like to divide the stores that are not blank's total sales by the total for the region. This will leave me with a percent of the of the sales that are reporting rates for each store that is reporting a rate.
Here's my first measure to get the total sales of stores that do not have a blank rate:
Store | Total Sales | Total Rate | Region |
A | 100 | .02 | 1 |
B | 150 | .04 | 1 |
C | 125 | .02 | 1 |
D | 50 | - | 1 |
E | 100 | - | 1 |
F | 200 | .07 | 2 |
G | 110 | .01 | 2 |
H | 60 | - | 2 |
I | 75 | .05 | 2 |
Just to be clear, you cannot use slicer selections in a calculated column. Calculated columns and calculated tables cannot be responsive to slicers since they are only computed once per data load.
I think I misspoke a bit in the last paragraph. I'm not looking for a calculated column, but rather using a table visual to display this data. I would want to add that measure as a field in my table visual.
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
26 | |
20 | |
19 | |
14 | |
14 |
User | Count |
---|---|
44 | |
36 | |
24 | |
24 | |
22 |