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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
arthastic
Advocate I
Advocate I

Related products report

Hi!

Need help!

I need to do a report which shows me product, that is saled in same cheque whith a product I will select.

 

There are 3 tables in sources:

Cheques (ChequeID, ChequeTime)

ChequeDetails (ChequeID, ProductID, Qty, Price, Sum)

Pruducts (ProductID, ProductName, Article).

 

So I want to select period and product that I'm interesting in and see the list of related products.

 

Have you any idea how to do this report or you've done something same?

5 REPLIES 5
arthastic
Advocate I
Advocate I

Hi! 

I decided to made this report by slicers.

1)  Find Cheques with products I'm interesting in by using slicers (Time and ProductName)

2) Mark all selected cheques and have the result in stacked bar chart11.18_related.PNG

But there're thousands/handreds of cheques with a same products in my real base and it's uncomfortably to mark them separately with mouse clicking. "Select All" control select all the cheques in the ChequesTable but not cheques that I select by clicers in first step.

Do anybody knows how to select only neded cheques in the ChequesSlicer?

Hi @arthastic,

 

You can set the ChequeTime and ProductName filter the ChequeID, and ChequeID slicer filter the chart. The values returned in ChequeID slicer are available filtered by both ChequeTime and ProductName, you can check "Select All" option in ChequeID slicer to filter cahrt data. Please check if attached .PBIX file meet your requirement.

 

q6.PNGq7.PNG

 

Reference:
Visualization interactions in a Power BI report

 

Best Regards,

Qiuyun Yu

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-qiuyu-msft ,

It doesn't work correct. I see it even on printscreen attached by you.

1) Sum of Car sales in cheque 1 and 2 isn't equal 246;

2) "Select All" option in ChequeID slicer doesn't filter chart data as expected

11.22_related.PNG

v-qiuyu-msft
Community Support
Community Support

Hi @arthastic,

 

In your scenario, you can build a relationship among those three tables. Then create a clustered column chart, place ChequeID in Axis property, ProductName in Legend and Sum in Value. Drag two slicer visuals into the report, one has ChequeTime, the other has ProductName. Then you can check prefer ChequeTime and ProductName to filter chart data. See:

 

q2.PNGq3.PNGq4.PNG

 

You can check my attached .PBIX file. If the report doesn't meet your requirement, please share desired results with us.

 

Best Regards,
Qiuyun Yu

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks @v-qiuyu-msft! But I need a bit different result.

For example:

when I select Bike (which was saled by cheques 1 and 2) In the result list I want to see next:

Bus 288

Cars 138

So there are the products and sums, that was saled with Bikes in same cheques.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.