Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi everyone,
I don't anderstand why ont of my filter isn't working...
I hope you will see something I can't !
I make this table calculated :
assistance_access =
ADDCOLUMNS(
ADDCOLUMNS(
SUMMARIZE(
'Enquête';
'Enquête'[Année];
'Enquête'[Comment évalueriez-vous l'accessibilité de ce service ?];
"total";
SUM('Enquête'[Comment évalueriez-vous l'accessibilité de ce service ?])
);
"total_y";
CALCULATE(sum('Enquête'[Comment évalueriez-vous l'accessibilité de ce service ?]);FILTER('Enquête';'Enquête'[Année]=[Année]))
);
"percent";DIVIDE([total]*100;[total_y])
)The red line working not well ! This the results :
What I'm excpecting is to have in total_y the sum of the total per year.
Have you an idea ?
thanks a lot for your help !
Solved! Go to Solution.
I found a way !
assistance_access = ADDCOLUMNS(ADDCOLUMNS(SUMMARIZE('Enquête';'Enquête'[Année];
'Enquête'[Comment évalueriez-vous l'accessibilité de ce service ?]
;"total";SUM(
'Enquête'[Comment évalueriez-vous l'accessibilité de ce service ?]
));"total_y";CALCULATE(SUM(
'Enquête'[Comment évalueriez-vous l'accessibilité de ce service ?]
);ALL('Enquête');'Enquête'[Année]=EARLIER('Enquête'[Année])));"percent";DIVIDE([total]*100;[total_y]))
I found a way !
assistance_access = ADDCOLUMNS(ADDCOLUMNS(SUMMARIZE('Enquête';'Enquête'[Année];
'Enquête'[Comment évalueriez-vous l'accessibilité de ce service ?]
;"total";SUM(
'Enquête'[Comment évalueriez-vous l'accessibilité de ce service ?]
));"total_y";CALCULATE(SUM(
'Enquête'[Comment évalueriez-vous l'accessibilité de ce service ?]
);ALL('Enquête');'Enquête'[Année]=EARLIER('Enquête'[Année])));"percent";DIVIDE([total]*100;[total_y]))
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 47 | |
| 35 | |
| 28 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 59 | |
| 58 | |
| 40 | |
| 22 | |
| 20 |