Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I have following situation:
I want to make an dimension like this: aggr(count(Serialnumbers),[Date.autoCalendar.Date]) (Works perfectly fine)
Now I want this aggregation only with Status K, or V:
aggr(count{<Status='K'>}Serialnumbers), [Date.autoCalendar.Date])
but wether the aforementioned nor the following seems to work:
=aggr(count(Status='K'}Serialnumbers),[Date.autoCalendar.Date])
Syntax seems to be right so far. Maybe someone has several options for me.
Thanks.
Curly brackets around K missing
aggr(count{<Status={'K'}>}Serialnumbers), [Date.autoCalendar.Date])
Hello @Lisa_P ,
I just found the problem:
aggr(count({<Status={'K'}>}Serialnumbers), [Date.autoCalendar.Date])
once again forgot another bracket.
Thank you very much .
Curly brackets around K missing
aggr(count{<Status={'K'}>}Serialnumbers), [Date.autoCalendar.Date])
Hi @Lisa_P ,
I corrected this:
aggr(count{<Status={'K'}>}Serialnumbers),[Date.autoCalendar.Date])
But it still doesn't work.
Is it maybe set expression syntax is not available in an aggregation? I just cannot get the last bracket closed with a yellow hilighted, it stays red even the count of open and closed brackets is right.
But when I write like this I have no problem with it giving me an 'OK' for the syntax:
=aggr(count({Status='K'}Seriennummern),[Date.autoCalendar.Date])
But still it giving me Null values for all serialnumbers:
Can you send a screenshot from within the expression editor with coloring ?
Hello @Lisa_P ,
I just found the problem:
aggr(count({<Status={'K'}>}Serialnumbers), [Date.autoCalendar.Date])
once again forgot another bracket.
Thank you very much .