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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

Finding the total of two regions in same axis

Hello Team,

My question is, I have a Table stated below. Local market serves as unique coulmn, cluster is the regions comes under vodafone.

By the data, i have i can visually reprent it as the below two charts. one chart shows the two regions count and after drill trought i get the totals of both regions. Is there a way to show without drilldown, the count also in same x axis?. 

your answers are much appreciated.

mad_hu_0-1644227429574.png

mad_hu_1-1644227470823.png

mad_hu_2-1644227517677.png

I want to show like this.......

mad_hu_3-1644227840355.png

Regards,

Mad_hu

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

You can do this by customizing an axis.

1.Create a table as follows.(If the amount of data is small, you can enter data, and if the amount of data is large, you can create a calculated table.)

vstephenmsft_0-1644826250263.png

 

2.Create a measure using SWITCH function or IF function.

Measure = 
VAR _COUNT=CALCULATE(COUNT('Table'[Local Market]),FILTER(ALLSELECTED('Table'),[Cluster]=MAX('Table (2)'[Type])))
RETURN
SWITCH(SELECTEDVALUE('Table (2)'[Type]),"Big 4",_COUNT,"EU",_COUNT,"VF Total",CALCULATE(COUNT('Table'[Local Market]),ALLSELECTED('Table')))

vstephenmsft_1-1644826728568.png

Measure 2 = 
VAR _COUNT=CALCULATE(COUNT('Table'[Local Market]),FILTER(ALLSELECTED('Table'),[Cluster]=MAX('Table (2)'[Type])))
RETURN
IF(SELECTEDVALUE('Table (2)'[Type])="VF Total",CALCULATE(COUNT('Table'[Local Market]),ALLSELECTED('Table')),_COUNT)

vstephenmsft_2-1644826795054.png

 

Best Regards,

Stephen Tao

 

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

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @Anonymous ,

 

You can do this by customizing an axis.

1.Create a table as follows.(If the amount of data is small, you can enter data, and if the amount of data is large, you can create a calculated table.)

vstephenmsft_0-1644826250263.png

 

2.Create a measure using SWITCH function or IF function.

Measure = 
VAR _COUNT=CALCULATE(COUNT('Table'[Local Market]),FILTER(ALLSELECTED('Table'),[Cluster]=MAX('Table (2)'[Type])))
RETURN
SWITCH(SELECTEDVALUE('Table (2)'[Type]),"Big 4",_COUNT,"EU",_COUNT,"VF Total",CALCULATE(COUNT('Table'[Local Market]),ALLSELECTED('Table')))

vstephenmsft_1-1644826728568.png

Measure 2 = 
VAR _COUNT=CALCULATE(COUNT('Table'[Local Market]),FILTER(ALLSELECTED('Table'),[Cluster]=MAX('Table (2)'[Type])))
RETURN
IF(SELECTEDVALUE('Table (2)'[Type])="VF Total",CALCULATE(COUNT('Table'[Local Market]),ALLSELECTED('Table')),_COUNT)

vstephenmsft_2-1644826795054.png

 

Best Regards,

Stephen Tao

 

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

amitchandak
Super User
Super User

@Anonymous , in the last visual from where you got the other two values (other than Big 4)

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Heelo,

That is ppt, I need to create a visual like that. 

I could not bale to creat ewhile visualising in power bi

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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

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.