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 everyone can somebody help me?
here is my sample data
in my powerbi it already have a ranking
i need a formula that sum of all cpm by social platform and ranking, on the right screenshot the output will be 8872
Solved! Go to Solution.
hi @FreemanZ,
i've filtered the social platform by FB and (all cost/post / all impression) * 1000
total computation of cost/post = 745,200
total computation of impression = 83,994
over all computation (cost:745,200/impression:83,994)*1000 = 8872
my ranking is base on week of update 01/22 = 1, 01/29 = 2
rank 1 on FB will be 8872
mine has the wrong output because i could'n figure out the right formula for this
@reibalboaOMG
Not sure what could go wrong. Even a simple DIVDE/SUM shall do the job unless your data model is more complex that just a single table. In case of mutiple periods or platforms selected you may use the following to obtain correct aggregation.
=
SUMX (
SUMMARIZE ( 'Table', 'Table'[Social Platform], 'Table'[Rank] ),
CALCULATE (
DIVIDE ( SUM ( 'Table'[Cost/Post] ), SUM ( 'Table'[Post Impression] ) ) * 1000
)
)
hi @tamerj1 and @FreemanZ i have a new problem that i encountered
focus yourself to COST EFFICIENCIES
youtube cpm has 5.97k on the first week
on the second week it has 3.70k which has the right color but if the value did'nt move on the next week it should be red.
hi @FreemanZ,
i've filtered the social platform by FB and (all cost/post / all impression) * 1000
total computation of cost/post = 745,200
total computation of impression = 83,994
over all computation (cost:745,200/impression:83,994)*1000 = 8872
my ranking is base on week of update 01/22 = 1, 01/29 = 2
rank 1 on FB will be 8872
mine has the wrong output because i could'n figure out the right formula for this
@reibalboaOMG
Not sure what could go wrong. Even a simple DIVDE/SUM shall do the job unless your data model is more complex that just a single table. In case of mutiple periods or platforms selected you may use the following to obtain correct aggregation.
=
SUMX (
SUMMARIZE ( 'Table', 'Table'[Social Platform], 'Table'[Rank] ),
CALCULATE (
DIVIDE ( SUM ( 'Table'[Cost/Post] ), SUM ( 'Table'[Post Impression] ) ) * 1000
)
)
User | Count |
---|---|
49 | |
40 | |
18 | |
14 | |
13 |
User | Count |
---|---|
102 | |
55 | |
28 | |
18 | |
13 |