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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
tommy_g
Helper V
Helper V

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
v-jiascu-msft
Employee
Employee

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.

View solution in original post

2 REPLIES 2
v-jiascu-msft
Employee
Employee

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.

Impressive, than you!

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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