Forum Discussion
Distinct Count rows based on Dimension Attribute Order Priority
To help suggest a specific expression, please provide an example of a visual (e.g., table or matrix) you would make that shows the correct result in context.
Regards,
Pat
Hi, I slightly changed the data to show a real case.
Below printscreen of the relationship. I would like to count based on the field Priority in the dimension table.Relationship
And hereafter a printscreen of the Fact, Dimension tables as matrix.
Please look at DocumentId 5, it should be counted once for StatusID=3 and not StatusID 4. Why ? Based on the priority (the lower the more important), StatusID 3 is prior. So I would like to count it for that status.
But for this, I need to be able to sort based on the Priority column.
Matrix of Fact, Dimension and result
Any suggestion ?
Kr