Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
I'm sure there is a simple answer that I can't find during my searching.
I have a table "Orders" which is being filtered by slicers. I want to add a column called "Total" which repeats the total order value.
Eg orders table:
Product, Qty, Value, Total
Pen, 5, $10, $14
Pencil, 10, $1, $14
Eraser, 3, $3, $14
Notice how total is the total value of all orders, but repeated. I want the Total measure to be affected by slicers applied to Orders, but unaffected by the row filter in the table. I also want the Total measure to be unaffected if I click a row of the table.
So far I have this:
Hi!
Let me know if I misunderstood, but could ALLSELECTED() be something that helps?
Total Value =
CALCULATE(
sum('Orders'[Value]),
ALLSELECTED('Orders'))
Without slicer
With slicer
Thanks, but if I click on a row then ALLSELECTED doesn't work.
User | Count |
---|---|
92 | |
85 | |
76 | |
66 | |
62 |
User | Count |
---|---|
110 | |
96 | |
95 | |
64 | |
57 |