Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi,
Can any one please help me to write the expression like
Sum(visits) where Media Type = "PAID MEDIA"
In Media Type i have PAID MEDIA and SOCIAL MEDIA. In the above expression i have to show only PAID MEDIA visits.
I have tried like below but getting error. Please help me on this.
Thanks in advance
Solved! Go to Solution.
Try like this for your filter
FILTER (
ALL ( 'Digital Marketing'[Media Type] ),
'Digital Marketing'[Media Type] = "PAID MEDIA"
)
Did I answer your question correctly? Mark my answer as a solution!
Proud to be a Datanaut!
Hello, @mahitham
Correct formula below
Paid Media Visits =
CALCULATE (
[Total Visits],
FILTER ( 'Digital Marketing', 'Digital Marketing'[Media Type] = "PAID MEDIA" )
)
Hello, @mahitham
Correct formula below
Paid Media Visits =
CALCULATE (
[Total Visits],
FILTER ( 'Digital Marketing', 'Digital Marketing'[Media Type] = "PAID MEDIA" )
)
Try like this for your filter
FILTER (
ALL ( 'Digital Marketing'[Media Type] ),
'Digital Marketing'[Media Type] = "PAID MEDIA"
)
Did I answer your question correctly? Mark my answer as a solution!
Proud to be a Datanaut!
User | Count |
---|---|
91 | |
77 | |
71 | |
64 | |
58 |
User | Count |
---|---|
106 | |
97 | |
76 | |
63 | |
60 |