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.
Hello,
I am currently in trouble to be able to display a specific graph.
I have a table with Dates and multiple rows with counter:
Date | Counter |
01/01/2020 | 1 |
02/02/2020 | 1 |
02/02/2020 | 1 |
03/03/2020 | 1 |
03/03/2020 | 1 |
03/03/2020 | 1 |
I have calculated average count to display it through time :
Solved! Go to Solution.
Hi @Anonymous ,
Create the following measures:
Max of Averages= MAXX(ALLSELECTED('Table'[Date]);[Average])
Maximum Date of Maximum average =
(
CALCULATE (
MAX ( 'Table'[Date] );
FILTER (
SUMMARIZE ( ALLSELECTED ( 'Table' ); 'Table'[Date]; "@Average_Value"; [Average] );
[@Average_Value] = [Max of Averages]
)
)
)
Filter = if(SELECTEDVALUE('Table'[Date]) = [Maximum Date of Maximum average];1 ; 0)
Now use the Filter to filter out your visualization.
Check PBIX file attach, I have chan the data to get the maximum on 2/2 to check if my formulas where correct.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @Anonymous ,
Create the following measures:
Max of Averages= MAXX(ALLSELECTED('Table'[Date]);[Average])
Maximum Date of Maximum average =
(
CALCULATE (
MAX ( 'Table'[Date] );
FILTER (
SUMMARIZE ( ALLSELECTED ( 'Table' ); 'Table'[Date]; "@Average_Value"; [Average] );
[@Average_Value] = [Max of Averages]
)
)
)
Filter = if(SELECTEDVALUE('Table'[Date]) = [Maximum Date of Maximum average];1 ; 0)
Now use the Filter to filter out your visualization.
Check PBIX file attach, I have chan the data to get the maximum on 2/2 to check if my formulas where correct.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em Português