Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I have a normal looking line chart with peaks and troughs, like the following:
Normal line chart
A new maximum is established everytime a new peak is reached, like the following:
new maximums
How do you get the dark blue line with DAX (I had to do it in Python because of my ignorance)?
Solved! Go to Solution.
Hi @Anonymous
you may try
CALCULATE (
MAX ( TableName[Wind - GWH] ),
TableName[Date] <= MAX (TableName[Date]),
REMOVEFILTERS ( TableName )
)
Hi @Anonymous
you may try
CALCULATE (
MAX ( TableName[Wind - GWH] ),
TableName[Date] <= MAX (TableName[Date]),
REMOVEFILTERS ( TableName )
)
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 6 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 16 | |
| 8 | |
| 7 | |
| 7 |