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

Graph Products Sales Time Frame X next to Time Frame Y and filtered by State

Would like to show sales $ or units sold, filtered product category, comparing time period x and y next to each other on graph.

 

Would also like the ability to show same data by state.

 

Example would be unit sales or $ sales of 2 horsepower motors sold in all states sold comparing January 2015 and 2016

 

Regards,

 

Scott

1 REPLY 1

Time intelligence is a well documented topic in DAX:

 

http://www.daxpatterns.com/time-patterns/

 

Then the rest of your question is just creating a visual, such as a matrix which has has state name and product as row (with a filter or slicer to select the product you are interested in) and your 2015 sales and 2016 sales measures as values.

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.