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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Measure to group clients into existing vs new, add drilldown for source of "new", & add target %

I have the following visual:

 

dancruth_1-1627585226474.png

dancruth_2-1627586711441.png

I would like to group all of the Sources (except "Existing Client") into "New Clients", while still having the ability to drill-down to show each individual Source (e.g. Personal Networking, Referral, etc.) within my new "New Clients" measure (or conditional column?). I tried just creating a conditional column that says "IF Personal Networking, Referral, etc., THEN "New Client" but because my Source is in Legend, I cannot add my new conditional column "New Clients" underneath it like you would if you added it to the Axis to drill down (create heirarchy?).

 

Then I would like to create another column (or some other method) that reflects a target of 10% growth of "New Clients" for next year. I was hoping to get some recommendations on the best way to do this. I'm fairly new to Power BI so any help would be appreciated!

 

Thank you.

 

1 ACCEPTED SOLUTION
v-eqin-msft
Community Support
Community Support

Hi @Anonymous ,

 

  • Method1——Add a column with values "New Client" and "Existing Client":
Flag Column = SWITCH(TRUE(), [Source] IN {"Personal Networking", "Referral"},"New Client", "Existing Client")

Then create visuals:

Add new column for AXIS.PNG

 

  • Method2——Create new group:

create new group.gif

 

Best Regards,
Eyelyn Qin
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

2 REPLIES 2
v-eqin-msft
Community Support
Community Support

Hi @Anonymous ,

 

  • Method1——Add a column with values "New Client" and "Existing Client":
Flag Column = SWITCH(TRUE(), [Source] IN {"Personal Networking", "Referral"},"New Client", "Existing Client")

Then create visuals:

Add new column for AXIS.PNG

 

  • Method2——Create new group:

create new group.gif

 

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

Greg_Deckler
Super User
Super User

@Anonymous Try building out the ad-hoc hierachy in the Axis. 


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.