Forum Discussion
How to create lines for a line chart with 4 different data retrieval dates
I have a request. Could someone tell me how to create a line chart with four lines showing values for four different dates? Simply, I need to be able to retrieve total open accounts per person four times each month and compare the values to see how they fluctuate between one date and the next. Here is a chart that shows the open accounts for two dates in March as an example.
I used these filters to achieve this but I need the dates to be dynamic.
FILTER('Date', 'Date'[Date] >=TODAY()- 17)
FILTER('Date', 'Date'[Date] >=TODAY()- 10)
Sample with two lines for two different dates.
Please help!
4 Replies
- lbendlinSuper User
That is most likely the wrong chart type. Line charts should only be used if the x axis has a (temporal) continuity.
Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
Do not include sensitive information or anything not related to the issue or question.
If you are unsure how to upload data please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216
Please show the expected outcome based on the sample data you provided.
Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523- ToddChittSuper User
For things like this, I tend to ask the consumer "What analysis and comparisons are you trying to do here?" I don't ask, "What type of chart do you want?"
Agree that sample data would help.