The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello i have below data. i have home page created with multiple pie charts and bar graphs. since i have type of product column with variety of names which is not standard and varies by each row. i want to create first custom filter tile where i can create just keywords tile which contains a good combination of these types e.g. one standard can be toys, machine. after that clicking on any of these keyword tiles should filter the data that it suggest. for example. if i click on toys,machines it should also show the field with just Machine because we have included machine keyword in the keyword "toys, machines". and when i select particular keyword filter on tile, the entire page including all graphs and pie chart should get filtered and show only data for e.g. toys, machines. can anyone help here please?
Product list | type of product | date of purchase | Date of repeat purchase | name of the purchaser | Location | total sale | Total profit | Total no of item |
ABC | toys, machines | 23-06-2024 | 25-06-2024 | XYZ | US | 10000 | 500 | 100 |
XYC | Machines | 25-06-2024 | 25-06-2024 | ABC | EU | 1000000 | 10000 | 50 |
ABC | Machine, pipes | 23-06-2024 | 25-06-2024 | XYZ | US | 10000 | 500 | 100 |
XYC | Pipes, toys, bolts | 25-06-2024 | 25-06-2024 | ABC | EU | 1000000 | 10000 | 50 |
Solved! Go to Solution.
Hi @duc1986 ,
Looks like you would need to do some work on your data to make this possible. If you are able to edit the data in Power Query, you can do the following:
Let me know if this works, or if you have any questions!
Best regards,
Daniel
Proud to be a Super User! | |
Hi,
Yes, my solution should result in the functionality you intend to have. Essentially, what you are doing is splitting the comma separated keywords and assigning each keyword individually to the specific row. So any time you select a keyword, it will filter the original row where that keyword is mentioned (in the long comma separated list of keywords).
As an alternative, or if you are unable to modify the query in Power Query, you could look into the custom visuals and see if any of the text search slicers/filters work for your use case. Last time I tried those they were not really good with partial text matching, maybe it improved since.
If something is unlcear or if you are stuck with any steps let me know and I will try to help!
Proud to be a Super User! | |
Hi @duc1986 ,
Looks like you would need to do some work on your data to make this possible. If you are able to edit the data in Power Query, you can do the following:
Let me know if this works, or if you have any questions!
Best regards,
Daniel
Proud to be a Super User! | |
Thank you so much! i will just reiterate what i am expecting. i want a tile filter where by clicking on any tile (e.g. Machine) will search and show the graphs filtered with the fields where ever the type of product contains Machine key word. it should include e.g. Machine and toys also. so basically i want to assign search funcationality to tile button where each button has specific keyword. e.g. Machine. and clicking on machine, it searches and filters all data on the page. do you think what you are suggesting will sort this out?
Hi,
Yes, my solution should result in the functionality you intend to have. Essentially, what you are doing is splitting the comma separated keywords and assigning each keyword individually to the specific row. So any time you select a keyword, it will filter the original row where that keyword is mentioned (in the long comma separated list of keywords).
As an alternative, or if you are unable to modify the query in Power Query, you could look into the custom visuals and see if any of the text search slicers/filters work for your use case. Last time I tried those they were not really good with partial text matching, maybe it improved since.
If something is unlcear or if you are stuck with any steps let me know and I will try to help!
Proud to be a Super User! | |