The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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 |
---|---|
26 | |
10 | |
8 | |
6 | |
6 |
User | Count |
---|---|
31 | |
12 | |
10 | |
10 | |
9 |