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

Join 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.

Reply
jvu
New Member

Selecting all rows from document where one row fullfils the criteria

Hi,

 

I have a general ledger material which looks following.

 

Document numberLine number within documentAmountGL account numberAccount name
11-10.0030Sales
125.0025AR
135.0022VAT
218.0025AR
22-4.0030Sales
23-4.0030Sales
31-3.0030Sales
323.0035AR

 

What I would like to do is select account "Sales" from a filter for example and then see all rows from documents that include postings to selected sales account.  Currently I will only see the lines that are actually posted to sales account but not the other lines of the document. Am I able to do this in Power BI? In Qlikview this can be done by using button with action to select all lines fulfilling the criteria.

 

Thanks!

1 REPLY 1
Eric_Zhang
Microsoft Employee
Microsoft Employee


@jvu wrote:

Hi,

 

I have a general ledger material which looks following.

 

Document number Line number within document Amount GL account number Account name
1 1 -10.00 30 Sales
1 2 5.00 25 AR
1 3 5.00 22 VAT
2 1 8.00 25 AR
2 2 -4.00 30 Sales
2 3 -4.00 30 Sales
3 1 -3.00 30 Sales
3 2 3.00 35 AR

 

What I would like to do is select account "Sales" from a filter for example and then see all rows from documents that include postings to selected sales account.  Currently I will only see the lines that are actually posted to sales account but not the other lines of the document. Am I able to do this in Power BI? In Qlikview this can be done by using button with action to select all lines fulfilling the criteria.

 

Thanks!


@jvu

Your question is not quite clear for me, do you mean that, say if "Sales" is selected, supposing that the correlated column "Document number" is 1, the show all the rows which have "Document number"=1? If so, you can simply do that with two slicers, just diable the interaction between the first slicer and table visual.

Capture.PNG

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.