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
juanahumada
Frequent Visitor

How to group data depending the results of a mesure

Hello,

I need help with a waterfall,

I have the following waterfall but I do not want to show all the values. I just want to show just those values that are below -20 and above 20 with its name and the rest of the values I want to show them in a group called Others.

How can I to group them in just one single group and keep the others (above 20 and below -20) in its original group.

Thank you very much!
Regards,
Juan

Captura.JPG

1 ACCEPTED SOLUTION

Hi @juanahumada,

 

By my tests, you could create a custom column in Query Editor with conditional column like below.

 

Untitled.png

Then you could create the visual like below.

 

Capture.PNG

 

If you still need help, could you please share your desired output?

 

For reference, you could have a look at the attachment.

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
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

10 REPLIES 10
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @juanahumada,

 

Have you solved your problem?

 

If you have solved, please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.

 

If you still need help, please share some data sample.

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
MFelix
Super User
Super User

Hi @juanahumada,

 

On the waterfall chart use the option Breakdown to reduce the number of splits on your chart this will give you several groups just keeping the top and bottom ones the rest will go to the others option check point 6 and 7 from the documentation for this visual.

 

Regards,

MFelix


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Hi,

 

@MFelix

 

Thank for your comment but It is not what I am looking for.

 

I need to group the categories (less the FX category) throught a mesure that only show me the categories that are above -20 and below 20, grouping them in a group called "others".

 

I left you some data for the solution of the problem.

 

Captura.JPG

 

 

thank you very much,

 

Juan

 

Juan

Hi @juanahumada,

 

Can you share the sample data as a table or a file?

 

Regards,

MFelix


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Spoiler
 

hi @MFelix

 

Here I leave you the data that I have to make the waterfall

 

Data Waterfall

 

Let me if you can download the data please.

 

Regards

 

Juan

Hi @juanahumada,

 

You may could have a try with IF function to group.

 

I have made a test with if, here is my formula and the test result.

 

Column = IF(OR([difference]>20,[difference]<-20),[difference],BLANK())

difference.PNG

Hope this can give you some idea.

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you @v-piga-msft

 

But I need to group C, E and B in one group called "other" too.

 

How can I make it with and If?

 

Best Regards,

Juan

Hi @juanahumada,

 

By my tests, you could create a custom column in Query Editor with conditional column like below.

 

Untitled.png

Then you could create the visual like below.

 

Capture.PNG

 

If you still need help, could you please share your desired output?

 

For reference, you could have a look at the attachment.

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you @v-piga-msft now I can get what I want.

 

If I have more doubts I will write here again.

 

Thank again

 

Kind Regards,

 

Juan

drewlewis15
Solution Specialist
Solution Specialist

I have yet to use this feature, but grouping/binning might work? See below link and let me know if this works!

 

Grouping and Binning

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.