Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
GAstarting
New Member

Filter showing always 1 default value + other(s) when selected

Hello everyone - I'm new here, so I hope someone can help

I have a filter with 5 items (Milestone, Task, Task_Cty, Subtask, Subtask_Cty)

I would like to display a table linked to this filter as

if Milestone is slected - showing Milestone

if Other any other (Task, Task_Cty, Subtask, Subtask_Cty) - can be multiple - Showing Milestone (by defalut) + other(s) selected

 

'til now, found only the possibilty to display by default (if not filter a value) but not what I'm looking for

 

Thanks a lot in advance for your help

G.

3 REPLIES 3
GAstarting
New Member

Hi amitchandak - the element you gave me here are not fixing my request (Or I miss-understand & miss-use)

would like to send pbix file ..how to do that?

G.

amitchandak
Super User
Super User

@GAstarting , Assume these value are coming independent dim , and you have measure = measure 

 

Var _sel = countx(allselected(dim[Value]),[Value])

var _cnt =countx(filter(allselected(dim[Value]), [Value] ="Milestone ") ,[Value]) 

return

if(isblank(_cnt) , [Measure] *_sel , [Measure])

 

If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi amitchandak - not usre if you saw my previous comment/reply -  the element you gave me here are not fixing my request (Or I miss-understand & miss-use)

would like to send pbix file ..how to do that?

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors