Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Dear Experts,
I have the data like the above , user has a date slicer . The requirement is if user selects a date or dates that should give the below table :
Email , MAX value of clicked.
Thanks.
I would use the below
Hope it resolves your issue? Did I answer your question? Mark my post as a solution! Appreciate your Kudos, Press the thumbs up button!! Linkedin Profile |
Hi Pranit, Thanks for the reply , but the measure is always returning 1 , irrespective of dates.
Thanks.
Can also screenshot your output.
Hope it resolves your issue? Did I answer your question? Mark my post as a solution! Appreciate your Kudos, Press the thumbs up button!! Linkedin Profile |
Thanks.
Please also paste the expected output if the below measure doesn't work. The sample input is in the ask.
CALCULATE(MAX(Table[Clicked]),ALLEXCEPT('Table','Table'[EMAIL]),'Table'[CompainName]))
Hope it resolves your issue? Did I answer your question? Mark my post as a solution! Appreciate your Kudos, Press the thumbs up button!! Linkedin Profile |
Its because the the CampaignName was misspelled in the privous reply.
use below
CALCULATE(MAX(Table[Clicked]),ALLEXCEPT('Table','Table'[EMAIL]),'Table'[CampaignName]))
Hope it resolves your issue? Did I answer your question? Mark my post as a solution! Appreciate your Kudos, Press the thumbs up button!! Linkedin Profile |
Can you paste what you are expeting as the output for the input you have pasted in the original ask.
Hope it resolves your issue? Did I answer your question? Mark my post as a solution! Appreciate your Kudos, Press the thumbs up button!! Linkedin Profile |
Hi @pranit828
basically based on the selected dates I need to show the MAX(Clicked) for any EMAIL.
Thanks.
check this it will show only for email.
Measure = CALCULATE(MAX(Table[Clicked]),ALLEXCEPT('Table','Table'[EMAIL]))
Hope it resolves your issue? Did I answer your question? Mark my post as a solution! Appreciate your Kudos, Press the thumbs up button!! Linkedin Profile |
Hi , @MyPowerbi2020
If you just need show the max clicked,just try measure as below:
Max clicked =
VAR t =
ALLSELECTED ( Data )
VAR tab =
SUMMARIZE (
t,
Data[Email],
"Result", CALCULATE (
MAX ( Data[Clicked] ),
FILTER ( t, Data[Email] = EARLIER ( Data[Email] ) )
)
)
RETURN
SUMX ( FILTER ( tab, [Email] = SELECTEDVALUE ( Data[Email] ) ), [Result] )
Best Regards,
Community Support Team _ Eason
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi , @MyPowerbi2020
Try measure as below:
result =
VAR t =
ALLSELECTED ( Data )
VAR tab =
SUMMARIZE (
t,
Data[Email],
"Result", CALCULATE (
MAX ( Data[Clicked] ),
FILTER ( t, Data[Email] = EARLIER ( Data[Email] ) )
)
)
RETURN
IF (
ISFILTERED ( Dates[Date] ),
IF (
SELECTEDVALUE ( Data[Clicked] )
= SUMX ( FILTER ( tab, [Email] = SELECTEDVALUE ( Data[Email] ) ), [Result] ),
1,
0
),
1
)
Then apply it to visual filter pane.
Please refer to the attached file for more details.
Best Regards,
Community Support Team _ Eason
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
How about simply this?
MaxClicked = MAX(Data[Clicked])
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
98 | |
97 | |
81 | |
77 | |
66 |
User | Count |
---|---|
126 | |
105 | |
103 | |
81 | |
72 |