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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.