cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Pratham Visitor
Visitor

dynamic dashboard: userinput for Month filter

I have a table with the list of orders with the ordered date and received date. I would like to calcualte Total ordered value for a month (based on user selection in the filter) , and for the orders received in that month, received value month on month and show it in the dashboard. I have problem in calculating Received value using the dynamic month selections. I have used below measure to get it for a month. 

 

calculate(sum(Orders[OrderValue]),filter(ALLSELECTED(Orders[OrderDate]),Orders[Order Date]>=date(2018,1,1) && Orders[Order Date]<= date(2018,1,31)),USERELATIONSHIP(Orders[ReceivedDate],'Date'[Date]))

 

But please let me know if I can pass the month in the order date based on the month inputted by user in the filter perhaps.

 

Below is the data and the result I'm looking for.

 

Also Kindly advise what kind of dashboard can show both Ordervalue for Jan and Received value over the months, when filtered for Jan. Similarly when filtered for Feb, it should show order value against Feb but Receved value over months.

 

ItemsOrderValueOrderDateReceivedDate
A1001-Jan-1810-Jan-18
B5015-Jan-1812-Jan-18
C203-Feb-184-Mar-18
A3024-Jan-18

10-Feb-18

 

 

ResultSumofOrderValueJanReceivedFebReceivedMarReceived
Jan18015030 
Feb20  20

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: dynamic dashboard: userinput for Month filter

@Pratham,

 

You may take a good look at this discussion.

http://community.powerbi.com/t5/Desktop/Relational-Date-Filter-By-Other-Date-How-To/td-p/298373

Community Support Team _ Sam Zha
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

1 REPLY 1
Community Support Team
Community Support Team

Re: dynamic dashboard: userinput for Month filter

@Pratham,

 

You may take a good look at this discussion.

http://community.powerbi.com/t5/Desktop/Relational-Date-Filter-By-Other-Date-How-To/td-p/298373

Community Support Team _ Sam Zha
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

Helpful resources

Announcements
Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

Super User Challenge: Can You Solve These?

Super User Challenge: Can You Solve These?

We're celebrating the start of the New Super User season with our first ever Super User 'Can You Solve These?' challenge.

Power BI Desktop Update - February 2020

Power BI Desktop Update - February 2020

We are super excited for our update this month, as we are releasing two of our top community requests!

Power Platform Online Conference

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

Top Solution Authors