Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.
Using DAX, how can I add an additional calculated column field that will return the distinct counts of deviceTxnId's for each deviceID?
Solved! Go to Solution.
count = CALCULATE ( DISTINCTCOUNT ( 'table'[deviceTxnID] ); ALLEXCEPT ( 'table'; 'table'[deviceID] ) )
Create a measure...
@Anonymous
you can simply use this measure
distinctcounttx = DISTINCTCOUNT(Table1[deviceTxnID])
Actually, I didn't get what results you are looking for?
Thanks for helping me. To provide more detail on my desired output result: Below is a screen shot.
count = CALCULATE ( DISTINCTCOUNT ( 'table'[deviceTxnID] ); ALLEXCEPT ( 'table'; 'table'[deviceID] ) )
Create a measure...
Check out the November 2023 Power BI update to learn about new features.
Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.