Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Good afternoon Community, I hope you are well.
I have a report that needs a query whether or not a field contains a piece of text, example:
I have this table with the values I want to look up:
On the other hand I have a table of several with fields where I want to look up the values of the table above:
Once I look up the text of the first table in the second table the number of the second field of the first table should be added, what I did to achieve this was the following:
I made a Crossjoin of both tables so that n catidad of records were created for each key, so I could consult how many words each comment has since they can have more than one and once that is consulted, I assign the score in a new column of the crossjoin with the following formula:
example:
This in order that I can compare the texts since I did not find another way to generate it (If you have any idea is welcome), once having this I am generating the necessary fields to create a pareto diagram that would be the frequency and the percentage, but at the time of doing the calculation for obvious reasons it brings me the values of all the cells since I calculate it in this way :
@Syndicate_Admin , based on what I got so far.
Create a new column in table 2
maxx(filter(Tabla1, search(Tabla1[clave], Tabla2[Commentarios],0,1)>0 ),Tabla1[score])
or like
sumx(filter(Tabla1, search(Tabla1[clave], Tabla2[Commentarios],0,1)>0 ),Tabla1[score])
Good morning , I hope you are well.
Try to do it as in your comments, but it throws me an error :
An argument of function 'SEARCH' has the wrong data type or has an invalid value.
Greetings and thanks in advance.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
76 | |
71 | |
56 | |
39 | |
35 |
User | Count |
---|---|
66 | |
66 | |
59 | |
53 | |
45 |