Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I'm creating pivot table in QS.
I need to get percentage for certain field
There is error while creating percentage for model
Count([CI Master ID])/Sum(([CI Master ID]))* 100....I used this expression but it's showing null values
The field I need to use inside is CI Master ID
Please help in creating percentage
Thanks
so maybe like this:
Count([CI Master ID])/Count(Total [CI Master ID])
Hi, try to find where is a problem by dividing your expression into parts and see are they both provide result.
Count([CI Master ID]) probably will work. If Sum([CI Master ID]) will give you nothing, maybe its needed to be converted to number with Sum(Num([CI Master ID]))?
Additionally, rather than *100, use number formatting as number and choose percentage.
so maybe like this:
Count([CI Master ID])/Count(Total [CI Master ID])