cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Gokul Member
Member

Top Month

find top month based on count of other value ..
Eg:august has 5k records sept has 10k records..
How to show sept in card visual !!??

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Top Month

Hi @Gokul,

 

Please share a dummy sample. You also can modify the measure below to achieve your goal.

top1 =
MAXX (
    TOPN (
        1,
        SUMMARIZE (
            'FactSales',
            DimDate[YearMonth],
            "AmountOfRecords", COUNTROWS ( FactSales )
        ),
        [AmountOfRecords], DESC
    ),
    [YearMonth]
)

Top-Month

 

Best Regards,
Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
4 REPLIES 4
Super User
Super User

Re: Top Month

@Gokul - please post sample data

 


 


Did I answer your question correctly? Mark my answer as a solution!


Proud to be a Datanaut!  

Community Support Team
Community Support Team

Re: Top Month

Hi @Gokul,

 

Please share a dummy sample. You also can modify the measure below to achieve your goal.

top1 =
MAXX (
    TOPN (
        1,
        SUMMARIZE (
            'FactSales',
            DimDate[YearMonth],
            "AmountOfRecords", COUNTROWS ( FactSales )
        ),
        [AmountOfRecords], DESC
    ),
    [YearMonth]
)

Top-Month

 

Best Regards,
Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Community Support Team
Community Support Team

Re: Top Month

Hi @Gokul,

 

Could you please mark the proper answers as solutions?

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Gokul Member
Member

Re: Top Month

using direct topn under visual card  is also the best way...think so!!