cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Satish_Kumar
Helper V
Helper V

How should we add the no of day as a filter to limit the months detail?

Hi All,

I just got an interesting task where i ahve to add a filter on the basis of month days,

Say for if we select month Jaunary and any one just want to see the how much sale is done in 1st january to 10th january.

So for that we must have a daywise data but i dont have that,

So here i need the help from you guys that if i do not have that kind of data then how i could create filter like that.

1 ACCEPTED SOLUTION
GilbertQ
Super User
Super User

Hi @Satish_Kumar

 

Could you not simply use your Date column as a Slicer? 

 

And if you are using the Updated Power BI Desktop it will default to the new Slider option?

 

06ba71ad-ff67-4c69-b31a-f5587ef143b8

 

So then the user can simply select the start and end dates for what they want to see?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

View solution in original post

6 REPLIES 6
GilbertQ
Super User
Super User

Hi @Satish_Kumar

 

Could you not simply use your Date column as a Slicer? 

 

And if you are using the Updated Power BI Desktop it will default to the new Slider option?

 

06ba71ad-ff67-4c69-b31a-f5587ef143b8

 

So then the user can simply select the start and end dates for what they want to see?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

@GilbertQ

Thanks for the reply,

If i am not wrong then this thing is possible when we have these range of data if i do not have the data then how we add default months days as a filter.

 

Hi @Satish_Kumar,

 

It will only show for the days when you have data. So if you had data for January, and not for February and then again for March it will show the date range from January to March, including February. If a user selected February then the result would be blank because there is no data.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

@GilbertQ

OK, that means it will show the lower date has the intial range and the higher date of my data as the last range value and it will automatically add in between date.

thanks for addon knowledge.

 

Regards,

Satish

FarhanAhmed1984
Resolver III
Resolver III

Does your data has some date values ?

Can you share some sample data or table structure?

@FarhanAhmed1984

Yes, I have data value.

i hope you have understand the senario about which i am talking.

 

Helpful resources

Announcements
August 1 episode 9_no_dates 768x460.jpg

The Power BI Community Show

Watch the playback when Priya Sathy and Charles Webb discuss Datamarts! Kelly also shares Power BI Community updates.

Power BI Dev Camp Session 24 without aka link and time 768x460.jpg

Ted's Dev Camp - July 28, 2022

Watch Session 24 of Ted's Dev Camp along with past sessions!

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Top Solution Authors
Top Kudoed Authors