Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Veerendra_Katikala
Contributor III
Contributor III

Count mismatch in table and text box

Hi Experts 

I wrote a following query which shows 7 Material Codes but as per the data it should have 6 Material Codes as per the logic and other one ( 10065281 ) should not be part of the table

if((Sum(([GR/IR Spend(GC)]*Exchange))/Sum(Quantity))>
(Sum(StdPricePerPOUOM*Quantity)/Sum(Quantity)),
count(distinct [Integrated JnJ Material Code])) 

10065281 should be removed from the list

Veerendra0509_0-1720006679487.png

I would like to display count of material codes in the Text box as well. quick help much appreciated 

 

Labels (5)
1 Solution

Accepted Solutions
marksouzacosta

To hide the zero records, you can uncheck this property in your chart.

marksouzacosta_0-1720064602051.png

Regarding the count, your If expression looks fine. Your screen shot does not look to match that expression. Can you please double check?

Regards,

Mark Costa

Read more at Data Voyagers - datavoyagers.net

View solution in original post

3 Replies
Lisa_P
Employee
Employee

In your screenshot, I can't see the IF

marksouzacosta

To hide the zero records, you can uncheck this property in your chart.

marksouzacosta_0-1720064602051.png

Regarding the count, your If expression looks fine. Your screen shot does not look to match that expression. Can you please double check?

Regards,

Mark Costa

Read more at Data Voyagers - datavoyagers.net
Veerendra_Katikala
Contributor III
Contributor III
Author

Thanks all for your time the Issue got fixed i did some blackened calculation and it worked