Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Dear all,
I try to explain my self better I can.
I have HR list, I know which people are based in which country and are taking care of cases in particular markets.
I have a table with the amounts of cases logget in markets.
With a calculated measure, I have the number of cases per market and how many people are working on the cases in those markets.
My issue is whan I have a person that works in more than one markets, i need to sum the ratio cases/headcounts for eache markets where he works. how to do it?
Thanks
Solved! Go to Solution.
Hi,
I am not sure how your data model looks like, but please try something like below.
expected result measure: =
SUMX (
DISTINCT ( 'TableName'[Market] ),
DIVIDE ( [Cases measure], [HeadCount measure] )
)
Hi,
I am not sure how your data model looks like, but please try something like below.
expected result measure: =
SUMX (
DISTINCT ( 'TableName'[Market] ),
DIVIDE ( [Cases measure], [HeadCount measure] )
)
Thank you so much!
User | Count |
---|---|
25 | |
12 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
12 | |
11 | |
9 | |
6 |