Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello,
I have a line chart to show a measure Actual.
the measure, which main purpose is to count the rows by considering some filters.
If the x-axis Week number is less than or equal to current week, the measure should set to the really count number.
if the x-axis week number is greater than current week, the measure should set to null, so that the line would not show on the chart.
for an example as below chart, I do not want to show the Actual line after X-axis 1914. Is there any solution? Thank you!
Solved! Go to Solution.
Hi @hemingt ,
One sample for your reference. We can create a meausure as below to get the excepted result we need. If it doesn't meet your requirement, kindly share your sample data to me via uploading files to One Drive then share the link here.
less than or equal today = var weektoday = WEEKNUM(TODAY()) return IF(weektoday<=MAX('Table'[Week]),BLANK(),COUNTROWS('Table'))
Is there any suggestion? Thank you!
Hi @hemingt ,
One sample for your reference. We can create a meausure as below to get the excepted result we need. If it doesn't meet your requirement, kindly share your sample data to me via uploading files to One Drive then share the link here.
less than or equal today = var weektoday = WEEKNUM(TODAY()) return IF(weektoday<=MAX('Table'[Week]),BLANK(),COUNTROWS('Table'))
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
63 | |
59 | |
56 | |
38 | |
29 |
User | Count |
---|---|
82 | |
62 | |
45 | |
41 | |
40 |