Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello.
I have a PowerApp that I'm using to trigger a flow that query's a dataset on PBI Workspace.
I'll be replacing "hamlet" with a string value from a text box in the PowerApp.
The DAX I have so far is the below, but it's not filtering the way I would have thought. In this case it returns nothing:
EVALUATE(FILTER(LocalHeroes_WarrantySearchTable, LocalHeroes_WarrantySearchTable[Address1] IN {"hamlet"}))
The table would look something like this...
ID | CustName | Address1 | City |
2 | John | 2 Roche Drive | Ayr |
3 | Peter | 33 Ester Cres | Dublin |
4 | Alfie | 4 Hamlet | Glasgow |
5 | Mark | 18 Bomont | London |
6 | Emma | 74 Cessnock | Manchester |
What I want the DAX to do is, search the [Address1] column for any values that contain "hamlet", and then return that row or rows of data.
so:
4 | Alfie | 4 Hamlet | Glasgow |
Solved! Go to Solution.
Try this:
FILTER(LocalHeroes_WarrantySearchTable, CONTAINSSTRING(LocalHeroes_WarrantySearchTable[Address1], "hamlet"))
Proud to be a Super User!
Try this:
FILTER(LocalHeroes_WarrantySearchTable, CONTAINSSTRING(LocalHeroes_WarrantySearchTable[Address1], "hamlet"))
Proud to be a Super User!
User | Count |
---|---|
76 | |
75 | |
46 | |
31 | |
27 |
User | Count |
---|---|
99 | |
91 | |
51 | |
49 | |
46 |