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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
Anonymous
Not applicable

chart display by different date period

Hi all

this is a sale report, and i wanted display the sale for each product for each different date period

the current data file does not have this info, so i was wondering if it is possible to add in?
Example date period Jan 15-Mar16 or Dec 16 to Mar17.

any advice is appreciated. Thank in advance

https://gofile.io/?c=pMaIxB

2 ACCEPTED SOLUTIONS

Hi @Anonymous,

You can do one of two things make an additional column on the sales table with an IF syntax that check if the date is within the sales period.

Another option is to create an additional table with the sale period and a max and min date for each period and then make a measure that uses that new table.


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





View solution in original post

mussaenda
Super User
Super User

Based on my understanding, this is what you want to achieve:

2019_09_01_09_49_16_date_1_Read_Only_Power_BI_Desktop.png

View solution in original post

6 REPLIES 6
mussaenda
Super User
Super User

Based on my understanding, this is what you want to achieve:

2019_09_01_09_49_16_date_1_Read_Only_Power_BI_Desktop.png

MFelix
Super User
Super User

Hi @Anonymous ,

 

Not really sure if I understand your request but have you tried to make the use of the data column on your model and the slicer between dates?

 

Can you explain a little bit better what is the expected result.

 

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





Anonymous
Not applicable

@MFelix 
hihi...as i have many products, so instead of manually using slicer between dates, is there a way to add this date period into the data and then using it as a slicer for the products.

 

If it cannot be done, i wonder how to using the slicer manually if i need a product to display period between different years?

For example: Dec 16 to Mar17.

Hi @Anonymous ,

 

What do you mean by date period on  your question? Do you want to have a column with the information that a specif product was only solde between Dec 16 and Mar 17?

 

Or do you want to create some pre definied periods and used them on a slicer?

 

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





Anonymous
Not applicable

@MFelix 

The promotion period is currently not in my data source, so i was wondering if it is possible to add into data source.

But would this then upset the existing file?

Also what format should this date period be, so that it can be used as a slicer later?

 

Hi @Anonymous,

You can do one of two things make an additional column on the sales table with an IF syntax that check if the date is within the sales period.

Another option is to create an additional table with the sale period and a max and min date for each period and then make a measure that uses that new table.


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





Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.