Forum Discussion
cdnjj
8 years agoFrequent Visitor
COUNTX distinct values without CALCULATE
Hello, Any thoughts on how to convert the statement below into a distinct count? Here's the trick; it needs to be accomplished without using CALCULATE (due to a circular reference limitation)....
- 8 years ago
Magic! Corerct, I am building out a calculated column.
Thank you.
Daniil
8 years agoKudo Kingpin
cdnjj, do you want to create a calculated column?
If yes, here is what you can try:
Customer Transaction Count =
COUNTROWS (
GROUPBY (
FILTER (
SalesLineData,
DailySalesSummary[Date] = SalesLineData[Date]
),
SalesLineData[TransactionNumber]
)
)cdnjj
8 years agoFrequent Visitor
Magic! Corerct, I am building out a calculated column.
Thank you.