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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
jch
Employee
Employee

Why doesn't the Measure NumProductsSolds work in the Power Bi?

I'm tearing my hair out here. Does anyone have suggestions?

 

Incorrect sum in Power Bi

jch_0-1640014018054.png

This is how it sums in Excel

jch_1-1640014147874.png

 

Pbi, December pivot table and transactions are in this drive

 

https://drive.google.com/drive/folders/1KnlQOQMVjPtGC-SiYBwCy15H4tR6JRwt?usp=sharing

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@jch , Your product is generated using =RANDBETWEEN(1,6)

 

That is why I was thinking how come I am getting a different sum for the product each time, I load it to power bi

 

edit

@MFelix , I have noticed that you have already given an update. But I am keeping this because I found this issue with excel, which creating the confusion

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

@jch , Your product is generated using =RANDBETWEEN(1,6)

 

That is why I was thinking how come I am getting a different sum for the product each time, I load it to power bi

 

edit

@MFelix , I have noticed that you have already given an update. But I am keeping this because I found this issue with excel, which creating the confusion

@amitchandak thank you for keeping me sane. Wishing you a safe and happy New Years

MFelix
Super User
Super User

Hi @jch ,

 

Altough your data is similar is not the same in the excel and in PBI has you can see below in Excel you have 25 records for product 1 in december however in the PBI the count is 40:

 

MFelix_0-1640017990958.png

 

MFelix_1-1640018017516.png

Are you sure that your model copied to PBI is correct.

 


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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.