Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Good morning all
I have a 2 lines chart with dates as x axis and price as y axis ( like a stock chart displaying 2 stocks prices by day, see below screenshot bottom chart).
So I have this 2 lines chart and I wonder if there is an embedded analytics that could calculate the difference of my prices without the pain of creating a column.
The result would something like below:
tks by advance
Gregory
Hi @Anonymous ,
Nope, you can't use analytics features to analyze the diff of your fields. You need to create a new measure to calculate the difference between two fields.
If you confused on coding formula, please share some sample data for test:
How to Get Your Question Answered Quickly
Regards,
Xiaoxin Sheng
tks Xiaoxin
I could do the trick by unpivoting the Query and adding a table to select the chart I wanted. see result in pict.
Now that I can select what I can display the two daily prices series I want to create a measure that calculate the difference between the 2 daily prices series. How can I do that (in case someone knows)?
HI @Anonymous ,
Can you please share some dummy data with the same structure for test? It seems like you have converted your table structure.
Notice: do mask on sensitive data.
Regards,
Xiaoxin Sheng
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
| User | Count |
|---|---|
| 48 | |
| 46 | |
| 41 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 70 | |
| 69 | |
| 32 | |
| 27 | |
| 26 |