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.
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]))