- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Display data for the past one year only
Hi all
I have a table called List of Items. I also have a column called "Creation Date". i.e. the date each item was created.
I only want to display the last year worth of data on a column chart i.e. Today() - 365
But my bar chart is showing all the data from 2016.
Question: How do I get the chart to show only data for the past one year
I would appreciate help with this issue.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi @vincetaylor ,
You could simply use Relative date filter.
Best Regards,
Jay
If this post helps, then please consider Accept it as the solution to help the other members find it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi @vincetaylor ,
You could simply use Relative date filter.
Best Regards,
Jay
If this post helps, then please consider Accept it as the solution to help the other members find it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

maybe you can create a new column and filter that column
Column = if('Table'[creation]>today()-365,"Yes")
Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

@vincetaylor Perhaps:
Measure =
VAR __Today = TODAY()
VAR __EarliestDate = __Today - 365
VAR __Date = MAX('Table'[Date])
RETURN
IF(__Date >= __EarliestDate && __Date <= __Today,<some calculation>,BLANK())
Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!: Power BI Cookbook Third Edition (Color)
DAX is easy, CALCULATE makes DAX hard...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Can you please clarify what is meant by the text "<some calculation>" in the last row of your solution?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

@vincetaylor That's where you would calculate something. I can't tell from your message and visual what calculation you are doing for you Value in your clustered column chart but whatever it is goes there. If you already have a measure for that, just plug the measure in for <some calculation>.
Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!: Power BI Cookbook Third Edition (Color)
DAX is easy, CALCULATE makes DAX hard...

Helpful resources
Subject | Author | Posted | |
---|---|---|---|
03-26-2024 11:52 PM | |||
05-30-2024 07:47 PM | |||
03-22-2024 01:00 PM | |||
Anonymous
| 10-06-2022 01:41 AM | ||
01-22-2022 08:31 AM |
User | Count |
---|---|
128 | |
119 | |
84 | |
62 | |
47 |