Forum Discussion
MyPowerbi2020
Helper IV
6 years agoDAX Requirement || HELP
Hi All, Need your help. The input data is as follows: (Please note the input data tab) https://drive.google.com/file/d/1xsrhMOGCSZNUAuCrMhw9Vj2DUeOja_QY/view Requirement: basically base...
- 6 years ago
Hi MyPowerbi2020 ,
1. Create a [Clicker?] measure:
Clicker? = IF ( MAX ( 'InputData'[Clicked] ) = 1, "Clicker", "Non Clicker" )2. Create a new table which includes [Status] field:
3. Create a [Count] measure:
Count = CALCULATE ( DISTINCTCOUNT ( InputData[Email] ), FILTER ( ALL ( 'InputData'[Email] ), [Clicker?] IN DISTINCT ( 'Table'[Status] ) ) )You will get your expected result:
Attached a sample file in the below, hopes to help you.
Best Regards,
Yingjie LiIf this post helps then please consider Accept it as the solution to help the other members find it more quickly.
v-yingjl
Community Support
6 years agoHi MyPowerbi2020 ,
1. Create a [Clicker?] measure:
Clicker? =
IF ( MAX ( 'InputData'[Clicked] ) = 1, "Clicker", "Non Clicker" )
2. Create a new table which includes [Status] field:
3. Create a [Count] measure:
Count =
CALCULATE (
DISTINCTCOUNT ( InputData[Email] ),
FILTER (
ALL ( 'InputData'[Email] ),
[Clicker?] IN DISTINCT ( 'Table'[Status] )
)
)
You will get your expected result:
Attached a sample file in the below, hopes to help you.
Best Regards,
Yingjie Li
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.