Forum Discussion
How to compute Brand by SOURCE ?
Yes , i just check , you give me the correct expression . now it working fine.
Can i have one more request , that is add one more condition , only count those brand sales >100K only. As i want to focus on high sales brand.
Hope you can advise me.
Paul
admin11 add this measure
Measure =
SUMX (
SUMMARIZE (
SALES_T,
SALES_T[SOURCE],
SALES_T[BRAND_C],
"@Sales", [SALES_T] //replace SALES_T with the measure you want to check for the value
),
IF ( [@Sales] > 100000, 1 )
)
// COUNTROWS ( VALUES ( SALES_T[BRAND_C] ) )
✨ Follow us on LinkedIn and subscribe to our YouTube channel
Learn about conditional formatting at Microsoft Reactor
My latest blog post The Power of Using Calculation Groups with Inactive Relationships (Part 1) (perytus.com) I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!
⚡ Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.⚡
- admin114 years ago
Memorable Member
Appreciate very much for your effort. Thank you.
i have apply your expression in my PBI , i realise that the limit setting 100K is not filter at actual value. there are some error. not sure cause by what ?
PBI sample file :-
https://www.dropbox.com/s/wknx581wrrui4vy/PBS_VER0293.pbix?dl=0
Paul