Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello to all,
I try to follow the evolution of two different measures (taux de completude Linky et nombre de site total) according to the filter chosen by the user. (the filter is a parameter that I set up. Each parameter corresponds to a different column of the table). for information the constructor, Zones, No of band OC three columns of my tables.
|
I can track the measure "Nombre de site total" by category. But regarding the completion rate Linky, I can only show the total, but not the completeness rate of each category.
You have a solution to be able to display the linky completeness rate of each category in curve in the same graph, please..
Thank you in advance for your help
Solved! Go to Solution.
Hi @DALI007 ,
I created some data:
You can start by finding the TOTAL, and after finding the VALUE for each category, use the divide() function to come up with the completion rate for each category.
Create measure
category_completeness rate =
var _totalvalue=SUMX(ALL('Table'),[Value])
var _categoryvalue=SUMX('Table',[Value])
return
DIVIDE(
_categoryvalue,_totalvalue)
Because the red box “Taux de completude Linky” belongs to Line y-axis, and Column y-axis belongs to two kinds of display, you need to create a measure for Line y-axis with the same function as the above to display it.
If the results above don't meet your expectations, Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data. We can better understand the problem and help you
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hello @Anonymous,
Thank you for your answer. This example works when the visualization dimension (a parameter I created) concerns the different values of a single column. In my case, in the view dimensions, I have different columns. Here is my parameter created:
The measures:
My Model :
My Visual
Thanks for your help
Regards
Hi @DALI007 ,
I created some data:
You can start by finding the TOTAL, and after finding the VALUE for each category, use the divide() function to come up with the completion rate for each category.
Create measure
category_completeness rate =
var _totalvalue=SUMX(ALL('Table'),[Value])
var _categoryvalue=SUMX('Table',[Value])
return
DIVIDE(
_categoryvalue,_totalvalue)
Because the red box “Taux de completude Linky” belongs to Line y-axis, and Column y-axis belongs to two kinds of display, you need to create a measure for Line y-axis with the same function as the above to display it.
If the results above don't meet your expectations, Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data. We can better understand the problem and help you
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
80 | |
79 | |
59 | |
36 | |
35 |
User | Count |
---|---|
99 | |
57 | |
56 | |
46 | |
40 |