Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
I have the following table setup:
We have a weighted calcualtion where we want to apply the percetages to get portion values. So for an event we want to know the weighted count, where weighted count is SUM(1 * [Project].[Project %] * [Project Business Group][Busness Group %] * [Region]. [Region %])
Some points to consider:
I am having a hard time crafting the right DAX expression to achive the weighted counts.
Any help would be greatly appreciated.
Andrew
Hi @Anonymous,
Based on your relationship, these tables connect with one to many relationships. It is impossible calculate on row level and sum up these values.(you can't accurate mapping these records at row level)
In my opinion, you need to summary multiple records first, then calculate on these summarized value.
So your formula should be similar as '1 * SUM([Project].[Project %]) * SUM([Project Business Group][Busness Group %]) * SUM([Region]. [Region %])' (these not the accuracy formula)
Regards,
Xiaoxin Sheng
That logic won't work as it summs the percentages, then multiplies them.
I didn't think it was possible anyway. In our olap version of this data, we used multiple fact tables. I may have to implment a similar solution.
Thanks for looking into this problem for me
User | Count |
---|---|
84 | |
76 | |
72 | |
47 | |
37 |
User | Count |
---|---|
111 | |
56 | |
51 | |
42 | |
42 |