Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
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.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
88 | |
86 | |
68 | |
51 | |
32 |
User | Count |
---|---|
126 | |
112 | |
72 | |
64 | |
46 |