Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi community,
I have a trouble using only function in a chart expression. My dimension is dimension1, and my expression is like:
=sum({<flag={'1'}, dimension2={'$=(Only(dimension1))'}>} Sales)
dimension1 and dimension2 are same format, result of MonthName function in script.
I tried with ' and " and without them, but still not working.
I'd appreciate any help. Thanks.
Marc.
Try
=sum({<flag={'1'}, dimension2={"=dimension2 = dimension1"}>} Sales)
Thanks Manish, but it works only for one unique value selected in dimension1.
Provide few lines of sample data.. may be 5-6 enough
Manish, PFA.
I've excluded flag dimension to make it easy.
Marc
Create a Chart
Dimension
Dimension1
Expression
SUM(IF(dimension1 = dimension2,Sales))
Yes, it works here but it is not going fine with the other conditions in the set analysis. Tomorrow I will prepare another sample data with more info and fields to analize it deeper.
Thanks a lot, Manish.
Marc.
Manish,
PFA.
The white background zone is the expected value (linked to an alternate estate). Total in left table for november 2014 should match the value in the right side.
Thanks.
I am finding difficulties to understand due to field name... Could you please create a sample excel file with expected output?
Sorry Manish. I've renamed field. You could see expected output for november 2014 in the table added in the right side.
Thanks.