Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Amit_Saxena
Microsoft Employee
Microsoft Employee

Second table is filtering data of entire row of first table, instead of data of only one cells value

Need your help

I have two tables;

 In Table1, which has summary level segment wise data with all the metrics(used one dimension to represent the metrics, unpivot the data to have all metrics in one column).

 

In Table 2- I want second table(which has all the records) to only filter the data based on selection in cell values appearing in table 1 but here i could see that my second table shows data of entire row of the table, because filter works on dimension so it's filtering the data based on Segment.

 

How should i show records in table 2 with data related with specific cell not the entire Row, pls suggest! 

 

Here for example if I click on cell which has value “P1 Only and Segment is High, which is 1 then in 2nd table it should not reflect the data of column name “Prod_2_Sales”.

 

 

Regards,

Amit

1 ACCEPTED SOLUTION
parry2k
Super User
Super User

@Amit_Saxena make sure there is a relationship between these two tables and that will filter table 2 from table1, if this doesn't work, share sample data and expected output.

 

I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!

Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.

 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

View solution in original post

6 REPLIES 6
parry2k
Super User
Super User

@Amit_Saxena make sure there is a relationship between these two tables and that will filter table 2 from table1, if this doesn't work, share sample data and expected output.

 

I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!

Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.

 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Thanks @parry2k for your time, creating another measure which filter the data in table based on Numerator of the calculation in Table1 works!! Thanks for your suggestion!!

Hello @parry2k
Thanks for your quick response, i am using single table as of now(flat file)

one cell click1.pngentire rawdata.png

This is how my raw data look like. Herei should be able to see data of records id 1 in 2nd table.

Hi @Amit_Saxena ,

 

The P1 Only column is in aggregation state.

When you select P1 Only is 1 and Segment is High, there are two rows will be filtered. Because the P1 only 1 contains 1 and 0.

 

S1.jpg

 

So if you want to filter one row, you need to configure the P1 only Don’t Summarize.

 

S2.jpg

 

Then select P1 only equal 1.

 

S3.jpg

 

If you have any question, please kindly ask here and we will try to resolve it.

 

Best regards,

 

Community Support Team _ zhenbw

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

BTW, pbix as attached.

Thanks for your resonse @ v-zhenbw-msft

 

This will create two rows in table 1 (by doing segment as don't summarize).

 

I need to show segment as three records only, also this is dummy data and my actual data in Table1 is based on the calculation of these 1's divided by unique ids, Also while selecting the data for P1 Only valaue table 2should only show the P1 sales value and other sales columns like P2 saes and P3 sales should not appear in table or reflect 0 zero values. 

Cell Click 01.pbix 

How can i share my sample PBI? have tried to attached the sample file.

Hi @Amit_Saxena ,

 

You can upload your files to OneDrive For Business and share the link here.

1.jpg

 

Please don't contain any Confidential Information or Real data in your reply.

 

Best regards,

 

Community Support Team _ zhenbw

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.