Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
How to capture the spike in data for a particular product on the same day,lets say the price keep changing and we have the following data points to be plotted as a line graph,
1.Time stamp
2.Product ID
3.Price of the Product
All I want to do is to be capable of comparing the product price and show the spike alone in a different color.
Hi @Anonymous
Would you like to get the max price per day to show on the line graph?
If so, you could create a column to get "date" from "date/time" column,
Date=[datetime].DATE
then create a measure to get the max price per day
max price=CALCULATE(MAX([Price]),ALLEXCEPT(Table,[Date]))
Then you can color the specific values conditionally as below:
https://docs.microsoft.com/en-us/power-bi/desktop-conditional-table-formatting
If not, please let me know.
Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks for responding,I also need to consider the time,even the seconds should be taken into account for identifying the spike.Can you please help on this.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 46 | |
| 42 | |
| 23 | |
| 18 |
| User | Count |
|---|---|
| 193 | |
| 123 | |
| 99 | |
| 67 | |
| 49 |