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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
BrendaB
Frequent Visitor

Year trend column chart with a slicer not working.

Hi all. 

 

I have a column chart showing income as a % of sales. I am using the simple calculation "Test = divide([results $],[revenue $])" to populate the chart. My X-axis is "Date>Month" and the Y-Axis is the result calculation. All is fine when I don't use the slicer. See below. 

BrendaB_0-1701881163840.png

When I select an option in the slicer, this happens:

BrendaB_2-1701881279985.png

I included the other graph to show that it is working properly. Well sort of but that is a different question (my revenue numbers need to stay as negatives and so I inverted the above graph so that they show positive but now all the expenses show inverted...if anyone knows how to display all slicer choices showing the graph upward without changing my numbers, I could use that help too...ha!)

 

Anyway, question is, why is it not showing the breakdown for this when sliced on the graph? I am guessing my formula for Y is too simple...thanks in advance. By the way...I don't know if this helps? 

BrendaB_3-1701882097908.png

 

1 ACCEPTED SOLUTION
BrendaB
Frequent Visitor

I was able to figure it out on my own. In case it helps anyone else, even if it is technically not 'right'...the calculation was a simple one. I was pointed at the incorrect column for the denominator calculation. 

BrendaB_0-1702387272370.png

BrendaB_1-1702387338130.png

 

 

View solution in original post

5 REPLIES 5
BrendaB
Frequent Visitor

I was able to figure it out on my own. In case it helps anyone else, even if it is technically not 'right'...the calculation was a simple one. I was pointed at the incorrect column for the denominator calculation. 

BrendaB_0-1702387272370.png

BrendaB_1-1702387338130.png

 

 

parry2k
Super User
Super User

@BrendaB the one question is not answered, which table you are using to slice on month? Also in the model, I don't see any relationship with the date table. Don't take me wrong, having cross-filter direction to both in the relationship is a BAD idea and can lead to unexpected results and performance issues. And your relationship screenshot has many of those. I don't want to divert the focus from the original problem but I though I should point it out.

 

 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

BrendaB
Frequent Visitor

I did fix my 'inversion' issue by adding an absolute value clause in my measures. One thing solved. 

 

parry2k
Super User
Super User

@BrendaB which slicer you are referring to? It is not the screenshots? What does your model look like? 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

BrendaB_1-1701954285831.png

BrendaB_2-1701954385952.png

 

Thank you.

 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors