Forum Discussion
janitor048
6 years agoHelper I
Distinct count in related table
Suppose I have the following tables Releases ReleaseID A B C Tickets TicketID ReleaseID Stuff 1 A xyz1 1 A abc1 2 B xyz2 2 B abc2 3 B xyz3 4...
- 6 years ago
Hi janitor048
You can add a column like
Column = CALCULATE( DISTINCTCOUNT( Tickets[TicketID] ) )Or simply use a Measure
Measure = DISTINCTCOUNT( Tickets[TicketID] )Best Regards,
Mariusz
If this post helps, then please consider Accepting it as the solution.
Please feel free to connect with me.
LinkedIn
Mariusz
6 years agoCommunity Champion
Hi janitor048
You can add a column like
Column = CALCULATE( DISTINCTCOUNT( Tickets[TicketID] ) )
Or simply use a Measure
Measure = DISTINCTCOUNT( Tickets[TicketID] )
Best Regards,
Mariusz
If this post helps, then please consider Accepting it as the solution.
Please feel free to connect with me.
LinkedIn
Mariusz
If this post helps, then please consider Accepting it as the solution.
Please feel free to connect with me.
eliPR
4 years agoFrequent Visitor
Just found this. Was having the same problem as the Janitor. The thing that I don't understand is why I don't have to use the RELATEDTABLE function. I thought that calculated columns disabled filter context. Why in this case does the calculated column apply the filter from the One table to the Many table?
Many thanks.