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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
holyspirit2207
New Member

Display of data not right

z6399824610724_7785b71cbf1ab7fc6a80cbee060287ae.jpgz6399818927863_326bcdc069a281733219c19dbd83fbad.jpgz6399819759269_ecb252fd569e1266b183f1222f50548e.jpgz6399822133429_9602a26dbf15494d52400f111c852fe6.jpgz6399823257479_88d78c4f802bc31e61d8c2c532906e06.jpg

I don't understand why the total was 8356 for all the quantity of items have been sold but when i display the total quantity of items sold by location the numbers just dont fetch up with the sum of quantity items have been sold 

6 REPLIES 6
v-priyankata
Community Support
Community Support

Hi @holyspirit2207 
I hope this information is helpful. Please let me know if you have any further questions or if you'd like to discuss this further. If this answers your question, please Accept it as a solution and give it a 'Kudos' so others can find it easily.
Thank you.

v-priyankata
Community Support
Community Support

Hi @holyspirit2207 
I wanted to check if you had the opportunity to review the information provided by @MFelix . Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank you.

v-priyankata
Community Support
Community Support

Hi @holyspirit2207 

May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

Thank you.

MFelix
Super User
Super User

Hi @holyspirit2207 ,

 

First of all the information you give altough is complete is not usable since it's just a set of images and it's not possible to understand what is happening.

 

Please see this post regarding How to Get Your Question Answered Quickly (courtesy of @Greg_Deckler) and How to provide sample data in the Power BI Forum (courtesy of @ImkeF).

 

However one thing that I can see is that you have a many to many relationship with bi directional filters turn on this usually returns inconsiste results.

 

Can you please share some more insights.

 

Can you please share a mockup data or sample of your PBIX file. You can use a onedrive, google drive, we transfer or similar link to upload your files.

If the information is sensitive please share it trough private message.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



I just sent you the the pbix file on the direct message, can you take a quick look through it ?

37m ago

Hi @holyspirit2207 ,

 

Your problem is with the many to many relationships, in this case the best option is to create a unique column compose by Shelf and Item on both tables I added the following:

Customer table
Shelf_Item = df_customer[Shelf ID]&"_" & df_customer[Item ID]

Item table
Shelf_Item = df_item[Shelf ID] & "_" & df_item[Item ID]

 

I also change the relationship from shelf to costumer passing it trough item this will give you the following setup:

  

Now you can use the information from shelf and from item to get the final result from customer. 

Has you can see the result is now correct.

Be aware that I also took the ShelfID from the Shelf table instead of the item one.

 

Many to many relationships with bidirectionality should not be created.

 

MFelix_1-1741796035608.png

MFelix_0-1741796035724.png


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Helpful resources

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