Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Greetings
Please assist to calculate grp2, grp3 and grp4 columns on Qliview model.
Many Thanks.
Thank You all for responding.
Please find attach the QV model and source file.
I could not able to calculate it on Model level so did it on DB level using cursor.
Regards
Hi,
Be more specific. Not able to understand your requirement.
might below syntax help you
Sum(Total <grp1>Values)
Regards
=count({< grp2={'Total X','Total Y','Total Z','Total XY','Total XYZ'}>}Didstinct Line2)
Thanks for responding.
Sum() is not working as it is a string value.
Is it possible to do it on script level.
Thanks
It seems like you already have a pivot/straight table with dimensions and a grp1 calculation expression (the columns in white). Can you upload that QVW?
load
count(distinct field name) as count1
resident tablename
or we take the textbox write the expression
=count({< grp2={'Total X','Total Y','Total Z','Total XY','Total XYZ'}>}Didstinct Line2)
You can also search the Community for Profit&Loss solutions. They typically operate in the same way.
Or look here for an excellent treatment: How IntervalMatch Solved My Profit and Loss Dilemma
Best,
Peter
Hi Peter
Please find attach the QVW file.
Please let me know if can do it by script level/DB level.
Regards
Sandeepa
take a straight table and write the is count(gr2) and take the columns are gr1 and gr2 it is working
sandeepa
I do not see an attached qvw?