This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
I am new to using Power BI, and am looking for some guidance with the following:
I have a large SQL data set (larger than I can work with in Excel) contianing many data columns including the following:
[Unique Serial Number], [Product Model], [Product Family], [Date sold], [Warranty Expiration Date], [Sold to Country]
I am trying to output a timeline graph with the following:
The objective of this is to visually 'see' how many of which product are still within their warranty period, over time.
Now I think I know how to place a graph and add a slicer for user-selection, but I don't know how to do the rest, like making the X-axis be a selectable date range, as opposed to dates from a colum in the source-data. I also don't know how to graph the count of [Unique Serial Number] within the two start and end dates of [Date sold], an [Warranty Expiration Date].
If anyone in the community has sufficient knowledge, experience, and patience to help this Power BI noob with this, it would be appreciated.
Tahnk you.
I was able to figure this out, details are on this thread.
First, I created a calendar that contains only the first day of each month, and only dates that current or in the past:
Program Active Months = FILTER(CALENDAR(DATE(2018,1,1),DATE(2025,12,31)),AND(DAY([Date])=1, TODAY()>=[Date]))
Then, I used this to produce the table I wanted which showed me enrollee count by client and month:
Active Enrollees =
VAR tmpTable =
SELECTCOLUMNS(
FILTER(
GENERATE(
Enrollment,
'Program Active Months'
),
[Date] >= [Effective_Date__c] &&
[Date] <= Enrollment[End Date]
),
"Id", Enrollment[Id],
"Date", [Date],
"Account", [Account Name]
)
RETURN GROUPBY(tmpTable,[Date],[Account],"Count",COUNTX(CURRENTGROUP(),[Id]))I hope this helps anyone else in a similar situation.
I just wanted to let you know that I have just opened a similar query about the last part of your question: how to expand by month instead of by day. It's located here:
If you've figured out a way to do what you needed without the full expansion, please let me know.
I hope you have the solution what you are looking for, that's what all matter 🙂
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 35 | |
| 32 | |
| 26 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 68 | |
| 36 | |
| 32 | |
| 25 | |
| 23 |