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.
Hi.
I am really struggling with creating a weighted average percentage measure that I can use within my dashboard.
I have data like the below table:
What I want to achieve is to be able to create a weighted Relevance % column based on the Relevant total per Country-Date combination. This would look something like below (example first row: Total Relevant=74+1+1, Weight=74/76, Weighted Relevant/Total=0,973684*0,225609756):
The problem I have is that I am not able to find a way to create a measure that takes on the value of the Weighted Relevant/Total.
Additionally, I would also want this Weighted Relevant/Total measure to be dynamic so that it changes if I filter out a certain Product Line for a specific Country-Date combination.
Solved! Go to Solution.
Hi, I am not sure if I understood your question correctly, but please check the below picture and the attached pbix file.
Hi, I am not sure if I understood your question correctly, but please check the below picture and the attached pbix file.
Thanks for this.
This looks good.
The only thing I am missing at the moment is that when I filter for product line the Weighted Relevant should also change.
Example:
Filter Country: Russia
Filter Product Line: Prod2
Filter Date: 11/8/2023
Expected Weighted Relevant = 1 (because the Relevant Relevant becomes 1, rather than 72)
Actual Weighted Relevant = 0,01389
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
23 | |
10 | |
10 | |
9 | |
7 |