Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi community,
Why following Expression is not showing result..is it any mistake in it?
sum({$<Month1={$(=max(Month1))}>}[Order Amount])
Try this
=SUM({< Month1=, Month1={'$(=Maxstring(Month1))'}>}[Order Amount])
Regards,
Kavita
Hi,
Check format of Month1.
Use simple listbox or textbox. In set analysis they must be the same.
I believe that Month1 is a text in your case.
Regards,
Andrei
Month1 is field for Months.
Obviously, yes
Show me, please, the script code how do you create this field.
Regards,
Andrei
Year("Reported Date") as Year,
Month("Reported Date") as Month1,
Try this
=SUM({< Month1=, Month1={'$(=Maxstring(Month1))'}>}[Order Amount])
Regards,
Kavita
Miracle Miracle
what is Maxstring....
Fantastic
Please add
, num(Month(Date)) as numMonth
in your script and use it for Set Analysis.
Regards,
Andrei
Maxstring is used for String...
max is used for numeric values..
My answer is in 14.2588887 can you show me how to use num() to restict it on 14.25