Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I have the next fields:
Date, Field1 and Field2 (not Count)
And I need a table like that:
The issue is that I dont have the field count in my data model.
Is it possible somehow build a table like this without calculate this count field in the script?
Thank you,
Sara
May be create the Count field like this:
LOAD Date,
Field1,
Field2,
AutoNumber(Field1, Date) as Count
FROM Source;
or
LOAD Date,
Field1,
Field2,
AutoNumber(Field1&Field2, Date) as Count
FROM Source;
Thank you, It works. But there is another way to build this table without scripting?
You can probably add a calculated dimension, but will have to test it out. Can you share a sample?
Try this as dimension:
=Aggr(RowNo(), Date, Field1)
I attached the qvw example. Thank you.
I assume this was in moderation and just went through? The issue is resolved right?
That was it. Thank you
Hello,
One doubt, my real data model contains dates with hours, I try with that :
=Aggr(RowNo(), floor([Date]), Field )
But it doesnt work.
Thanks
There could be another issue unrelated to the date field. Not sure what it can be without take a look. Can you share a more comprehensive sample where it isn't working?