Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
hello
I am building a dashboard contains a filter of companies name
i need please hide the other names depends on this filter
for example:
table look like:
name | amount |
aramco | 200195$ |
sabic | 412000$ |
nobco | 211300$ |
tsnee | 350100$ |
if filter = "nobco"
table will be : ( hide any other companies name)
name | amount |
- | 200195$ |
- | 412000$ |
nobco | 211300$ |
- | 350100$ |
i try to use ISFILTERD () functio but it ask for one value, I don't know if there is a way to use it with IF and conditions .
Solved! Go to Solution.
Hi, @Lily_DS
You can try the following methods.
Measure:
Name measure =
SWITCH(TRUE(),
SELECTEDVALUE ( Slicer[name] ) = BLANK (),SELECTEDVALUE ( 'Table'[name] ),
SELECTEDVALUE ( Slicer[name] ) = SELECTEDVALUE ( 'Table'[name] ),SELECTEDVALUE ( 'Table'[name] ),
"-"
)
Is this the result you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @Lily_DS
You can try the following methods.
Measure:
Name measure =
SWITCH(TRUE(),
SELECTEDVALUE ( Slicer[name] ) = BLANK (),SELECTEDVALUE ( 'Table'[name] ),
SELECTEDVALUE ( Slicer[name] ) = SELECTEDVALUE ( 'Table'[name] ),SELECTEDVALUE ( 'Table'[name] ),
"-"
)
Is this the result you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
thank you so much ,, I tryed your solution it's great.🙏
@v-zhangti ,
Hello,
I am not the author of this thread, however, I am interested in this topic, I checked your solution, and it's great.
You create a new table just for the slicer, I wonder if you can do it within the same table or have a relationship between those two tables.
Hi @Lily_DS ,
see my pbi file
https://1drv.ms/u/s!Aj45jbu0mDVJizIXmIgvc_G-Fc_i?e=qrj22n
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
119 | |
83 | |
47 | |
42 | |
33 |
User | Count |
---|---|
190 | |
79 | |
72 | |
52 | |
46 |