cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
tommy_g Regular Visitor
Regular Visitor

Wildcards in filter

I am working with song titles.

I have parsed indivual words from the titles, group by and counted these words. (also removed a lot of "stop" words)

I display my title words in a Word Cloud, with frequency as the Value field. Nice and colorful.

 

I'd like to link this with a Multi-row Card, so that when selecting any of the Word Cloud values, it returns a list of all songs containing that word or phrase. In other words, a simple SQL wildcard query, user clicks on "tango" and gets a list of matching songs based on title.

 

My working assumption is that I need to add some syntactic magic to the Visual Level filter on the Card, doing a wildcard match on the song title, BUT dynamic in that it responds to the key work or phrase selected in the Word Cloud control.

 

I've tried a few variations of wildcard characters and quotes, as suggested in other contexts, but still no success.

 

If this is not possible, then I'm open to suggestions for tackling this by preparing one or more transforms in Power Query.

1 ACCEPTED SOLUTION

Accepted Solutions
v-jiascu-msft Super Contributor
Super Contributor

Re: Wildcards in filter

Hi @tommy_g,

 

Please check out the demo here. You need a new table and a measure. No relationship can be established.

MarchKeyword =
IF (
    HASONEVALUE ( main[Column1] ),
    IF (
        SEARCH ( VALUES ( main[Column1] ), MIN ( 'List'[Title] ), 1, 0 ) = 0,
        BLANK (),
        "Match"
    ),
    BLANK ()
)

Wildcards_in_filter

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
2 REPLIES 2
v-jiascu-msft Super Contributor
Super Contributor

Re: Wildcards in filter

Hi @tommy_g,

 

Please check out the demo here. You need a new table and a measure. No relationship can be established.

MarchKeyword =
IF (
    HASONEVALUE ( main[Column1] ),
    IF (
        SEARCH ( VALUES ( main[Column1] ), MIN ( 'List'[Title] ), 1, 0 ) = 0,
        BLANK (),
        "Match"
    ),
    BLANK ()
)

Wildcards_in_filter

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
tommy_g Regular Visitor
Regular Visitor

Re: Wildcards in filter

Impressive, than you!

Helpful resources

Announcements
Back to School Contest

Back to School Contest

Engage and empower students with Power BI!

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Summit Australia 2019

Summit Australia 2019

Travel to Melbourne and network with thousands of peers!

Top Ideas
Users Online
Currently online: 231 members 2,403 guests
Please welcome our newest community members: