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
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.
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 | |
91 | |
88 | |
64 | |
58 |
User | Count |
---|---|
201 | |
137 | |
107 | |
72 | |
68 |