Forum Discussion
Frequency Count
- 5 years ago
Saxon10
I created a measure, you can add the ITEM column from Report and the measure. Check the attached file. You can use the slicer to filter for any date period.Freq = MAXX( TOPN( 1 , ADDCOLUMNS(VALUES(DATA[Vendor]),"Count", CALCULATE(COUNT(DATA[Vendor]))),[Count] ), [Vendor] ) - 5 years ago
Saxon10
Please find below the formula for the calculated Column that will return only for available vendors for April 2020 to April 2021.Freq Column = CALCULATE( MAXX( TOPN( 1 , ADDCOLUMNS(VALUES(DATA[Vendor]),"Count", CALCULATE(COUNT(DATA[Vendor]))),[Count] ), [Vendor] ), FILTER(all(DATA[DATE]), DATA[DATE] >= DATE(2020,4,1) && DATA[DATE] <= DATE(2021,4,30) ) )
Saxon10
I created a measure, you can add the ITEM column from Report and the measure. Check the attached file. You can use the slicer to filter for any date period.
Freq =
MAXX(
TOPN(
1 ,
ADDCOLUMNS(VALUES(DATA[Vendor]),"Count", CALCULATE(COUNT(DATA[Vendor]))),[Count]
),
[Vendor]
)
Your measure solutions working well.
is that possibile can I get the new calulate column option inculding date range?
can you please advise.
- Fowmy5 years agoSuper User
Saxon10
Please find below the formula for the calculated Column that will return only for available vendors for April 2020 to April 2021.Freq Column = CALCULATE( MAXX( TOPN( 1 , ADDCOLUMNS(VALUES(DATA[Vendor]),"Count", CALCULATE(COUNT(DATA[Vendor]))),[Count] ), [Vendor] ), FILTER(all(DATA[DATE]), DATA[DATE] >= DATE(2020,4,1) && DATA[DATE] <= DATE(2021,4,30) ) )- Saxon105 years agoPost Prodigy
Thanks for your reply and help.
Your solution working well.