cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Badges

Incoming: New and Improved Badges

Exciting news: We've given our badges an overhaul and added brand news ones.

Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

Analytics in Azure virtual event

Analytics in Azure virtual event

Experience a limitless analytics service built to ingest, prep, manage, and serve data for immediate use in Power BI.

Users Online
Currently online: 202 members 2,265 guests
Please welcome our newest community members: