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
galbatrox9
Helper I
Helper I

Last 6 months graph [Pbix attached]

Hi Guys,

 

I have a date, sales and sales error tables. ( I have the sample file attached). I wanted to show a line and stacked column graph that showed sales for the last 6 months with a line that showed the sales error counts for the last 6 months too based on the months slicer.

 

I tried using this : https://sqljason.com/2018/03/display-last-n-months-selected-month-using-single-date-dimension-in-pow...

 

PowerBi File

 

It works well if i just want to show Sales for last 6 months, but i cant seem to be able to connect the errors to that same graph because this method works by adding a year/month column into the data tables.

 

Can someone please help me find an alternative way?

 

 

PowerBi File

1 ACCEPTED SOLUTION
Icey
Community Support
Community Support

Hi @galbatrox9 ,

Sorry to reply late. I made it.Smiley Very Happy Hope this is what you want. This is my PBIX file.

slicer.PNG

 

Best Regards,

Icey

 

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

5 REPLIES 5
Icey
Community Support
Community Support

Hi @galbatrox9 ,

 

Is this problem sloved?


If it is sloved, 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 not, please let me know.


Best Regards
Icey

Icey
Community Support
Community Support

Hi @galbatrox9 ,

Sorry to reply late. I made it.Smiley Very Happy Hope this is what you want. This is my PBIX file.

slicer.PNG

 

Best Regards,

Icey

 

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

hi! this is exactly what I need!

how can I get your file, please? the link don't working

Icey
Community Support
Community Support

Hi @galbatrox9 ,

Based on my test, for the model you created, your two measures can only display in two visuals.

 

Best Regards,
Icey

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

@Icey  i understand that. Is there an alternative though? Maybe new measures ?

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.