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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Chris-TX
Frequent Visitor

Sales Funnel Sorting

Hi everyone,

 

I'm developing some Sales Funnel analytics.  The problem I'm having is I can't sort the funnel order properly. 

 

1. I'm sure adding numbers in front of my deal stages will work, but frankly thats tacky as h-eee-double hockey sticks. I really don't want to do this...

2. an attempt to add an order reference table to tooltips really wants to summarize/aggregate the order numbers intead of letting them stand on their own 1-6 (i.e. transform them into a max/min/sum/count of order number).

 

For reference: Screengrab 1 is of the new reference table

ChrisTX_2-1649886427781.png

 

ChrisTX_1-1649886270016.png

 

Any ideas how I can properly sort these stages?

 

Thank you!

5 REPLIES 5
Chris-TX
Frequent Visitor

This also allowed me to sort the MATRIX columns in that screenshot as well.

Chris-TX
Frequent Visitor

Thank you guys.  The solution I found was

 

1) establish a Deal Stage Reference Table with an order number column, then

ChrisTX_0-1650398296519.png

 

2) In the visual itself, use the REFERENCE TABLE deal stages for columns, instead of my raw data.  This was a fundamental lesson for me: use reference tables as much can for stuff like categorizing/grouping.  That allowed me to sort by order number from the reference table

 

ChrisTX_1-1650398401750.png

 

isabella
Microsoft Employee
Microsoft Employee

Hi @Chris-TX 

I guess you can merge your reference table to your original table , and then sort by the order column.

Here is my test steps,you can take a reference.

 

First create a test table,the visual effect looks like:

 

isabella_0-1650261765157.png

 

 

Here we can see that the default order is C,B,A

I am going to change the order to A,C,B.

 

As you mentioned the reference table:

isabella_1-1650261765158.png

 

 

Then in power query do the merge:

isabella_2-1650261765159.png

 

 

isabella_3-1650261765160.png

 

 

Then expand the  [orderno] column 

isabella_4-1650261765161.png

 

Now the data looks like:

isabella_5-1650261765162.jpeg

 

 

And then save and back to the Power BI Desktop, In visual, add the new column to the ToolTips .

isabella_6-1650261765162.png

 

 

And choose sort by the new  column .

 

isabella_7-1650261765163.jpeg

 

 

Now the order is A,C,B

isabella_8-1650261765164.jpeg

 

 

 

 

Best Regards,

Community Support Team _Isabella

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

 

truptis
Community Champion
Community Champion

Hi @Chris-TX , Refer the below link may be that can help: https://community.powerbi.com/t5/Desktop/Funnel-Chart-Sorting/m-p/511773 

Good morning Truptis,

 

Thank you.  I had previously referred to that, which is what gave me the idea to use a reference table.  That option doesn't seem to work for me, as power bi wants to aggregate the order number into a measure.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.