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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. 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
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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