cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Microsoft
Microsoft

Re: Selecting all rows from document where one row fullfils the criteria


@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
May 2020 Community Highlights

May 2020 Community Highlights

It’s time for another PBI Community recap!

Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Using the Community

Using the Community

Need help with the Power BI Community? Our 'Using the Community' support articles are a great place to start.

Galleries

Galleries

Looking for inspiration on how to present your data? Need instructional videos? Check out our Galleries!

Top Solution Authors