cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
baneworth
Frequent Visitor

Qliksense Wildmatch -> Power BI DAX

Recently moved from Qlik to Power BI and very new to using DAX

 

What would be the euqivalent to the Wildmatch function (please refer to image)

- basically what i have to do is combining several values(usually its just one) and then renaming them

 

If there would be a better solution i am happy to learn

qlik product.JPG

 

 

Best regards

2 ACCEPTED SOLUTIONS

Accepted Solutions
Super User IV
Super User IV

Re: Qliksense Wildmatch -> Power BI DAX

Power VI has search and find in Dax

https://docs.microsoft.com/en-us/dax/search-function-dax

https://docs.microsoft.com/en-us/dax/find-function-dax

For multiple filter use switch

https://community.powerbi.com/t5/Desktop/Help-with-SWITCH-TRUE-with-multiple-items-to-evaluate/td-p/...

 

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution.
In case it does not help, please provide additional information and mark me with @

Thanks. My Recent Blogs -Decoding Direct Query - Time Intelligence, Winner Coloring on MAP, HR Analytics, Power BI Working with Non-Standard TimeAnd Comparing Data Across Date Ranges
Connect on Linkedin





Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
In case it does not help, please provide additional information and mark me with @
My Recent Blogs -Decoding Direct Query - Time Intelligence, Winner Coloring on MAP,
HR Analytics, Power BI Working with Non-Standard TimeAnd Comparing Data Across Date Ranges
Proud to be a Super User! Linkedin


View solution in original post

Microsoft v-alq-msft
Microsoft

Re: Qliksense Wildmatch -> Power BI DAX

Hi, @baneworth 

 

Based on your description, I'd like to suggest you use FIND(), SEARCH(), CONTAINSSTRING(), CONTAINSSTRINGEXACT().

 

Here is the functions for text.

1. Text connection functions :  

 

CONCATENATE(<text1>, <text2>)
CONCATENATEX(<table>, <expression>, [delimiter])
COMBINEVALUES(<delimiter>, <expression>, <expression>[, <expression>]…)
DISTINCT(SELECTCOLUMNS(DimDate, "Month", COMBINEVALUES(",", [MonthName], [CalendarYear])))

 

2. Text search functions : 

 

FIND(<find_text>, <within_text>[, [<start_num>][, <NotFoundValue>]])  
SEARCH(<find_text>, <within_text>[, [<start_num>][, <NotFoundValue>]]) 
CONTAINSSTRING(<within_text>, <find_text>) 
CONTAINSSTRINGEXACT(<within_text>, <find_text>)

 

3. Formatting text functions : 

 

FIXED(<number>, <decimals>, <no_commas>)  
FORMAT(<value>, <format_string>)

 

4. Intercepting text functions : 

 

LEFT(<text>, <num_chars>)
RIGHT(<text>, <num_chars>)  
MID(<text>, <start_num>, <num_chars>) 

 

5. Replace text : 

 

REPLACE(<old_text>, <start_num>, <num_chars>, <new_text>)  
SUBSTITUTE(<text>, <old_text>, <new_text>, <instance_num>) 

 

 

For further information, please refer to the official document .

 

Best Regards

Allan

 

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
Super User IV
Super User IV

Re: Qliksense Wildmatch -> Power BI DAX

Power VI has search and find in Dax

https://docs.microsoft.com/en-us/dax/search-function-dax

https://docs.microsoft.com/en-us/dax/find-function-dax

For multiple filter use switch

https://community.powerbi.com/t5/Desktop/Help-with-SWITCH-TRUE-with-multiple-items-to-evaluate/td-p/...

 

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution.
In case it does not help, please provide additional information and mark me with @

Thanks. My Recent Blogs -Decoding Direct Query - Time Intelligence, Winner Coloring on MAP, HR Analytics, Power BI Working with Non-Standard TimeAnd Comparing Data Across Date Ranges
Connect on Linkedin





Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
In case it does not help, please provide additional information and mark me with @
My Recent Blogs -Decoding Direct Query - Time Intelligence, Winner Coloring on MAP,
HR Analytics, Power BI Working with Non-Standard TimeAnd Comparing Data Across Date Ranges
Proud to be a Super User! Linkedin


View solution in original post

Microsoft v-alq-msft
Microsoft

Re: Qliksense Wildmatch -> Power BI DAX

Hi, @baneworth 

 

Based on your description, I'd like to suggest you use FIND(), SEARCH(), CONTAINSSTRING(), CONTAINSSTRINGEXACT().

 

Here is the functions for text.

1. Text connection functions :  

 

CONCATENATE(<text1>, <text2>)
CONCATENATEX(<table>, <expression>, [delimiter])
COMBINEVALUES(<delimiter>, <expression>, <expression>[, <expression>]…)
DISTINCT(SELECTCOLUMNS(DimDate, "Month", COMBINEVALUES(",", [MonthName], [CalendarYear])))

 

2. Text search functions : 

 

FIND(<find_text>, <within_text>[, [<start_num>][, <NotFoundValue>]])  
SEARCH(<find_text>, <within_text>[, [<start_num>][, <NotFoundValue>]]) 
CONTAINSSTRING(<within_text>, <find_text>) 
CONTAINSSTRINGEXACT(<within_text>, <find_text>)

 

3. Formatting text functions : 

 

FIXED(<number>, <decimals>, <no_commas>)  
FORMAT(<value>, <format_string>)

 

4. Intercepting text functions : 

 

LEFT(<text>, <num_chars>)
RIGHT(<text>, <num_chars>)  
MID(<text>, <start_num>, <num_chars>) 

 

5. Replace text : 

 

REPLACE(<old_text>, <start_num>, <num_chars>, <new_text>)  
SUBSTITUTE(<text>, <old_text>, <new_text>, <instance_num>) 

 

 

For further information, please refer to the official document .

 

Best Regards

Allan

 

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

Helpful resources

Announcements
New Ranks Launched March 24th!

New Ranks Launched March 24th!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power BI Community!

‘Better Together’ Contest Finalists Announced!

‘Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Arun 'Triple A' Event Video, Q&A, and Slides

Arun 'Triple A' Event Video, Q&A, and Slides

Missed the Arun 'Triple A' event or want to revisit it? We've got you covered! Check out the video, Q&A, and slides now.

Join THE global Microsoft Power Platform event series.

Join THE global Power Platform event series.

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors