Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
rsbin
Community Champion
Community Champion

ToHecWithRankX

Good Evening @Greg_Deckler ,

Attempting to understand and replicate your message using CountRows instead of RankX.  However, having difficulty replicating the results shown in your message.  I have recreated your 'Table' and copied your Measure3.

GroupItemValueToHellWithRankXDescMeasure3

oneItem 1700 
oneItem 2800 
oneItem 3900 
oneItem 41000 
ThreeItem 1012 
ThreeItem 8200 
ThreeItem 91100 
twoItem 5500 
twoItem 6400 
twoItem 7300 

 

 

ToHellWithRankXDescMeasure3 = 
    COUNTROWS(
        FILTER(
            SUMMARIZE(
                FILTER(
                    ALL('Table'),
                    [Group] = MAX([Group])
                ),
                [Item],
                "Value",SUM('Table'[Value])
            ),
            [Value]>=SUM([Value])
        )
    )

 

 

But I get a blank column.  Unable to figure out where or what I am doing wrong.  Hoping you can find or point out what I am missing. 

Once I get this, then I hope to be able to subsitute my own values and add some additional complexities and scenarios that I need to account for in my data set.

 

Thanks in advance and Best Regards,

1 ACCEPTED SOLUTION
Jihwan_Kim
Super User
Super User

Picture2.png


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

View solution in original post

1 REPLY 1
Jihwan_Kim
Super User
Super User

Picture2.png


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.