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
Rajni264
Regular Visitor

undefined

CalculatedColumn.PNG

Hi, I want to create the  calculated column 'Individual sales Quantity' from the first three input columns. For the same date and same product ID, I want the Sum in only entry and another entry as 0 as shown above

 

1 ACCEPTED SOLUTION
PhilipTreacy
Super User
Super User

Hi @Rajni264 

 

Download example PBIX file

 

Why do you want to create a column like this? 

 

What is the purpose of keeping a row with a 0 in it for Ind Sales Qty when it appears that what you are trying to do is sum the sales by product id and date?

 

Why not just use a table visual to do this?

 

qty.png

regards

 

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


View solution in original post

1 REPLY 1
PhilipTreacy
Super User
Super User

Hi @Rajni264 

 

Download example PBIX file

 

Why do you want to create a column like this? 

 

What is the purpose of keeping a row with a 0 in it for Ind Sales Qty when it appears that what you are trying to do is sum the sales by product id and date?

 

Why not just use a table visual to do this?

 

qty.png

regards

 

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

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

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.