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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Inverno
Frequent Visitor

Percentage of products sold, from totals from another file

Hello guys.

I'm struggling with this topic and i'm bugging out. Perhaps you can help me with it.

I'm working with 2 files.

File 1 - Year 2022 total products quantity (sold and not sold) aprox 6000

FIle 2 - Year 2022 total products quantity not sold aprox 2000

Both files have 23 different products (the same on each file)

 

I want to know, via chart, the percentage of "not sold" by product (data coming from file 2) from the total ammount by product (data coming from file 1).

This is easy on other platforms e.g. excel, but in Power BI I can't seem to find it. Rookie here...

Thank you in advance.

 

2 ACCEPTED SOLUTIONS
lbendlin
Super User
Super User

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...
Please show the expected outcome based on the sample data you provided.

https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523

View solution in original post

I've managed to find a way by creating two SUM measures and dividing them. Also, setting up relationships between column files.

I'll be more carefull with my future enquiries.
Thank you for the info.

View solution in original post

2 REPLIES 2
lbendlin
Super User
Super User

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...
Please show the expected outcome based on the sample data you provided.

https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523

I've managed to find a way by creating two SUM measures and dividing them. Also, setting up relationships between column files.

I'll be more carefull with my future enquiries.
Thank you for the info.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors