Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Somewhat straightforward need: using a table and a slicer with disabled interactions between the two, return the value that's filtered within the slicer as a persistent value within the table when using the same field as a row. Essentially, what I need is the following:
Slicer - Field Used and Resulting Value | |
Supplier | Supplier C |
Table Visual | |
Supplier | Slicer Selection |
Supplier A | Supplier C |
Supplier B | Supplier C |
Supplier C | Supplier C |
Supplier D | Supplier C |
Supplier E | Supplier C |
Supplier F | Supplier C |
So again, I need to utilize the slicer as the value for "Slicer Selection" as a persistent value while also using the same field (Supplier) on the rows. I've tried SELECTEDVALUE but that just returns the row context, hence the same value as the first column. I've tried a mix of ALL and ALLEXCEPT, but the row context kicks back in when coupling that with SELECTEDVALUE to get the slicer selection. I have yet to try a disconnected table, but would that be a viable solution here? Any suggestions? Thanks!
SELECTEDVALUE() doesn't invoke row context. It looks at a field and if there is one value, returns it, otherwise it returns blank or an alternate result - "Multiple Values Selected" for example.
In your image, is the field in the slicer from a dimension table or from your fact table? Here is what I think you need to do.
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingUsing a disconnected table will then require the use of that table as the slicer, which won't work for my case.
Ultimately, what I'm trying to obtain is a why to "mask" the names dynamically based on the selection within a slicer. If the selection is within the row of the table visual, only show that name, otherwise mask it as "Supplier A", "Supplier B", etc. This may not be very straightforward as initially assumed, but I appreciate any guidance you might provide.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
104 | |
96 | |
80 | |
67 | |
62 |
User | Count |
---|---|
138 | |
107 | |
104 | |
82 | |
63 |