Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
cancel
Showing results for 
Search instead for 
Did you mean: 
soniasweety
Master
Master

count of region

Hi all,

I have pie chart with  count of regions  it will display  each region count

but my requirement is

if I select any region in pie chart ---      that particular  region count should display in text object 

how can I write the expression in text object dynamically?

1 Solution

Accepted Solutions
trdandamudi
Master II
Master II

In text box use the below:

=If(GetSelectedCount(Region) >0, Region &'-' &Count(Region),0)

View solution in original post

6 Replies
Anil_Babu_Samineni

It should automatic, no need to manipulate here. Count(Measure) is enough i believe

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
soniasweety
Master
Master
Author

I need to ddisplay in text box along with the selected region

how can I get it?

trdandamudi
Master II
Master II

May be as below:

=If(GetSelectedCount(Region) >0, Count(Region),0)

Anil_Babu_Samineni

Why not this?

=GetFieldSelections(Region) & ' - ' & Count(Measure)

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
trdandamudi
Master II
Master II

In text box use the below:

=If(GetSelectedCount(Region) >0, Region &'-' &Count(Region),0)

soniasweety
Master
Master
Author

thanks aall.,

I will check and update you.