Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
I have a slicer which allows the user to select one of a number of values, as per normal. I think have this code to get the value selected in the slicer:
Sel = IF(NOT(ISFILTERED('Options'[Options])),
"All",
CONCATENATEX(ALLSELECTED('Options'[Options]),
'Options'[Options],
", "))Great. If I show the value of Sel on the dashboad, it shows the value I selected, or 'All'.
So now I want to use that value for each row, to determine whether or not to show it. Can I use it to create a new column like this:
Show = if(Sel = "All",
"Y",
if(NOT(ISERROR(SEARCH(Sel,columnvalue))),
"Y",
"N"))And then filter on the value of Show, only showing the row if Show = "Y"?
Hi @Budfudder,
Have you solved your problem?
If you have solved, could you please share your solution or always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.
If you still need help, please share some data sample and your desired output so that we could help further on it.
Best Regards,
Cherry
Hi @Budfudder,
For your requirement, I suggest you'd better create measure and then put the measure to visual level filter to filter row if Show = "Y".
If you still need help, please share your sample data and your desired output so that we could help further on it.
Best Regards,
Cherry
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
| User | Count |
|---|---|
| 47 | |
| 43 | |
| 40 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 70 | |
| 67 | |
| 32 | |
| 27 | |
| 25 |