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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
jmcph
Helper III
Helper III

Debit / Credit Visualization

Hi, I need help on my accounting measures. I hope you can help me with it. 

 

I have a General Ledger table that was formatted like this: 

 

Book           Date              Trans #                     Acct Name                    Amt

Sales           1/1/20          S001                          Sales                           -1,000

Sales           1/1/20          S001                          Cash                             1,000

Sales           1/2/20          S002                          Sales                           -2,000

 

I have a visual table that looks like this: 

 

Book           Date              Trans #                     Acct Name                    Amt

Sales           1/1/20          S001                          Sales                           -1,000

Sales           1/2/20          S002                          Sales                           -2,000

 

My visual filter is based on Acct Name, for example based on Sales.

 

What i want to happen is that when the user clicked on the Trans #, it will show the following details on a separate table :

Book           Date              Trans #                     Acct Name                    Amt

Sales           1/1/20          S001                          Sales                           -1,000

Sales           1/1/20          S001                          Cash                             1,000

 

I cant make it work, i think because my filter is based on Sales, it will not show any other Acct Name beside that. 

 

What measure should i create to make it work? 

 

Thanks a lot! 

1 ACCEPTED SOLUTION
v-alq-msft
Community Support
Community Support

Hi, @jmcph 

 

You may try the following two ways to meet your requirments. The pbix file is attached in the end.

Visual level filter:

a1.pnga2.png

 

Edit interaction:

a3.pnga4.png

 

For further information, you may refer to the following documents.

Add a filter to a report in Power BI 

Change how visuals interact in a Power BI report 

 

Best Regards

Allan

 

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

View solution in original post

3 REPLIES 3
v-alq-msft
Community Support
Community Support

Hi, @jmcph 

 

If you take the answer of someone, please mark it as the solution to help the other member0s who have same problems find it more quickly. If not, let me know and I'll try to help you further. Thanks.

 

Best Regards

Allan

v-alq-msft
Community Support
Community Support

Hi, @jmcph 

 

You may try the following two ways to meet your requirments. The pbix file is attached in the end.

Visual level filter:

a1.pnga2.png

 

Edit interaction:

a3.pnga4.png

 

For further information, you may refer to the following documents.

Add a filter to a report in Power BI 

Change how visuals interact in a Power BI report 

 

Best Regards

Allan

 

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

vanessafvg
Community Champion
Community Champion

can you show the structure of your data is it multiple tables?   can you share your relationships if more than one.  





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.