Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Country | State | Company |
US | NY | ABC |
US | Texas | ABC |
Canada | BC | XYZ |
Canada | Toronto | LMN |
Canada | Vancouver | PQR |
Canada | BC | STU |
Germany | Berlin | HIJ |
Country | State | Company |
US | NY | ABC |
US | Texas | ABC |
Thanks for your help.
Solved! Go to Solution.
Hi @anwarbi ,
You can store data in the database, using the direct query connection mode. Then create a new parameter, modify the advance editor as shown below, save and close, we can create a table and then bind the parameter to the field. The result is shown in the figure below. At this time the slicer will filter the data source data, but because it is a direct connection we can not see the data on the data view. Dynamic M query parameters will have some restrictions please refer to the documentation for details.
Table = UNION(VALUES(TESTTABLE[Company]),{"ALL"})
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @anwarbi ,
According to your description, here are my steps you can follow as a solution.
(1) My test data is the same as yours.
(2) We can create a table and a measure.
Table 2 = 'Table'
Flag = IF(MAX('Table 2'[Company])=SELECTEDVALUE('Table'[Company]),1,0)
(3) Then the result is as follows.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi,
I don't really want to add a filter at a visual level but I need to filter the underlying data table (please refer screenshot) of the data table when filtered manually. This is the filtered result I need at a data level by selecting a company name through slicer.
Thanks
Hi @anwarbi ,
You can store data in the database, using the direct query connection mode. Then create a new parameter, modify the advance editor as shown below, save and close, we can create a table and then bind the parameter to the field. The result is shown in the figure below. At this time the slicer will filter the data source data, but because it is a direct connection we can not see the data on the data view. Dynamic M query parameters will have some restrictions please refer to the documentation for details.
Table = UNION(VALUES(TESTTABLE[Company]),{"ALL"})
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
User | Count |
---|---|
136 | |
73 | |
73 | |
58 | |
54 |
User | Count |
---|---|
194 | |
95 | |
63 | |
63 | |
51 |