Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi
How do i get a line graph to show the first n number of days rather than actually a date range
Please can someone help me out,
Thanks
Kunal
Solved! Go to Solution.
@kdaya wrote:
Hi
How do i get a line graph to show the first n number of days rather than actually a date range
Please can someone help me out,
Thanks
Kunal
A measure as below for your reference, the measure varies according to the N days in a slicer. See more details in the attached pbix file.
First N Days value = SUMX ( FILTER ( ALL ( 'values' ), 'values'[date] <= MAX ( 'values'[date] ) && 'values'[date] >= MAX ( 'values'[date] ) - MAX ( 'First N Days'[N] ) ), 'values'[values] )
@kdaya wrote:
Hi
How do i get a line graph to show the first n number of days rather than actually a date range
Please can someone help me out,
Thanks
Kunal
A measure as below for your reference, the measure varies according to the N days in a slicer. See more details in the attached pbix file.
First N Days value = SUMX ( FILTER ( ALL ( 'values' ), 'values'[date] <= MAX ( 'values'[date] ) && 'values'[date] >= MAX ( 'values'[date] ) - MAX ( 'First N Days'[N] ) ), 'values'[values] )
You can apply a visual filter.
Click on the line chart -> Go to filter section under your visuals -> Change the Filter Type to Top N -> Drag your date column to By Value and enter the number of day you want to see.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
99 | |
80 | |
70 | |
60 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |