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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
maziiw
Advocate I
Advocate I

Filtering from within a parameter fields

I have a parameter field which looks like this:

param - funnel breakdown = {
    ("Overall", "None", 0),
    ("Top 6 IDs", NAMEOF('Conversion'[Visual Breakdown Top IDs]), 2),
    ("Device Type", NAMEOF('Conversion'[DEVICE_TYPE]), 3)
}

 

For Device type, in my data i have mobile, tablet, desktop.

i also have other metrics such as overall counts and conversions on the page

 

How can I filter this parameter so that the split is only for mobile and desktop and does not show tablet? i want tablet to still be included in overall other metrics (such as transactions), but just not seen on the split.

Thanks for your help!  

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @maziiw ,

Follow below steps.

 

1. Create a calculated column that keeps only Mobile and Desktop, and marks everything else as “Exclude”.

 

Device Type Filtered =

IF (

    'Conversion'[DEVICE_TYPE] IN {"Mobile", "Desktop"},

    'Conversion'[DEVICE_TYPE],

    BLANK() 

)

 

Note: Use BLANK() if you want Tablet to simply not appear in the visual.

 

2.  Change your parameter tuple for Device Type.

 

param - funnel breakdown = {

    ("Overall", "None", 0),

    ("Top 6 IDs", NAMEOF('Conversion'[Visual Breakdown Top IDs]), 2),

    ("Device Type", NAMEOF('Conversion'[Device Type Filtered]), 3)

}

 

Now when Device Type is selected, Only Mobile and Desktop appear. Tablet still exists in your model and is included in Overall metrics, conversions, etc.

 

If my response as resolved your issue please mark it as solution and give kudos.

View solution in original post

4 REPLIES 4
v-karpurapud
Community Support
Community Support

Hi @maziiw 

We have not received a response from you regarding the query and were following up to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions.

 

Thank You.

v-karpurapud
Community Support
Community Support

Hi @maziiw 

I would also take a moment to thank  @PhilipTreacy  and @Anonymous  for actively participating in the community forum and for the solutions you’ve been sharing in the community forum. 

I hope the information provided help you fix the issue. If you still have any questions or need more help, feel free to reach out. We’re always here to support you 

 

 

Best Regards, 
Community Support Team  

Anonymous
Not applicable

Hi @maziiw ,

Follow below steps.

 

1. Create a calculated column that keeps only Mobile and Desktop, and marks everything else as “Exclude”.

 

Device Type Filtered =

IF (

    'Conversion'[DEVICE_TYPE] IN {"Mobile", "Desktop"},

    'Conversion'[DEVICE_TYPE],

    BLANK() 

)

 

Note: Use BLANK() if you want Tablet to simply not appear in the visual.

 

2.  Change your parameter tuple for Device Type.

 

param - funnel breakdown = {

    ("Overall", "None", 0),

    ("Top 6 IDs", NAMEOF('Conversion'[Visual Breakdown Top IDs]), 2),

    ("Device Type", NAMEOF('Conversion'[Device Type Filtered]), 3)

}

 

Now when Device Type is selected, Only Mobile and Desktop appear. Tablet still exists in your model and is included in Overall metrics, conversions, etc.

 

If my response as resolved your issue please mark it as solution and give kudos.

PhilipTreacy
Super User
Super User

Hi @maziiw 

 

You need to write a bit of DAX, first to detect when Device Type is selected

 

Is Device Type Selected = SELECTEDVALUE('param - funnel breakdown'[Order]) = 3

 

Then write a measure that tells you when the Device Type is either mobile or desktop

 

Device Filter =

IF( 
    [Is Device Type Selected],
    'Conversion'[DEVICE_TYPE] IN {"mobile", "desktop"},
    TRUE()
)

 

Then on the visual where you show the parameter split, use that measure as a filter.

 

Regards

 

Phil

 



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.