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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

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
Fabric Data Days is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.