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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

Reply
hemann
Helper I
Helper I

Reference Maximum Text into table visual

Hi, 

I am wanting to create a table visual (as per below) for Top 5 series with measures. I have been successful except for 'most active state' calculation (refer circled). Below is the data used to summarise the table. It takes top 5 series (based on qty), total quantity for that series, most active state quantity, and the most active state (based on quantity). 

I have tried using Maxx to bring most active state without luck. Please help 

hemann_0-1649047381982.png

SeriesStateVolume
ANSW21
ASA60
AVIC7
BVIC50
CNSW10
DNSW7
ENSW22
EQLD177
FVIC19
GNSW50
HNSW10
INSW19
IVIC1950
JNSW820
JVIC7
KQLD11
LNSW14
MSA8
NNSW16
NVIC155

 

1 ACCEPTED SOLUTION
jdbuchanan71
Super User
Super User

@hemann 

Give this a try.

 

Most Active State =
FIRSTNONBLANK (
    TOPN ( 1, VALUES ( 'Table'[State] ), CALCULATE ( SUM ( 'Table'[Volume] ) ) ),
    1
)

 

jdbuchanan71_0-1649051226801.png

 

View solution in original post

2 REPLIES 2
hemann
Helper I
Helper I

Thanks worked a treat

jdbuchanan71
Super User
Super User

@hemann 

Give this a try.

 

Most Active State =
FIRSTNONBLANK (
    TOPN ( 1, VALUES ( 'Table'[State] ), CALCULATE ( SUM ( 'Table'[Volume] ) ) ),
    1
)

 

jdbuchanan71_0-1649051226801.png

 

Helpful resources

Announcements
Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors