Forum Discussion
DatesQTD not working
- 3 years ago
Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
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.
https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523
- san176803 years ago
Helper II
Hi
Thanks for your response, I had almost given up on expecting a response, cuz this is my first query on this forum.
I have attached my file here. THis is google drive link, hope you can access it.
https://drive.google.com/file/d/11qLQlRl92JdYzxZrLlNWByMLN6xJW5Co/view?usp=drive_link
let me rephrase my query. I would like to have separate lines for each quarter year. it works fine for the years YEARLY RUNNIN SALES tab in the attached file.
I attempted to do the same in QTD SALES GRAPH NOT WORKING tab but to no avail. In short I would like to replicate the YEARLY RUNNIN SALES tab except I need quarters here (as separate lines) not years
Thank you for your time.
- Mahesh00163 years ago
Super User
san17680 I hope this helps you!THANK YOU!!Use this measure in Y - axis
Total QTD Sales =TOTALQTD([total_sales],'Calendar'[Date].[Date])and calendar date table Mark as Date table >> right click on table >> select calendar date >>set as date >> see below screen shot
- san176803 years ago
Helper II
Thank you Mahesh for looking into this, however this is not what I am after. I am trying to replicate the graph as shown in the image. I need running quarterly sales for each line. each line denotes a different quarter. eg (one line for current quarter, one for previous quarter current year, another for current quarter last year. I was able to create this chart by years but stuck with quarterly approach. Thank you.