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 all,
I have a table of sales over time (number as value, date as axis), and I'm attempting to make a calculation that displays the slope for the value, given the start and end points are for whatever criteria is currently selected.
I have an initial and ending value, and % change between the two, but can't figure out how to translate that into slope given a date axis.
Hi RMDNA,
Which kind of slope you want to achieve? Maybe some custom chart can meet your requirement. In addtion, could you share some sample data for further analysis?
Regards,
Jimmy Tao
I am wondering about this one as well. I have not been able to find a nice "SLOPE" function in the DAX library.
I did find a custome function that works when the x-axis are some kind of number in integrer format. But my x-axis is a month-day/year.
I am looking for any tips or tricks on this one...
This would be a sample of the data set:
dt_RPTMONTH_INC Incoming Incidents
11/1/2016 0:00 9256
12/1/2016 0:00 8350
1/1/2017 0:00 8905
2/1/2017 0:00 8973
3/1/2017 0:00 9864
4/1/2017 0:00 8495
5/1/2017 0:00 9533
6/1/2017 0:00 9227
7/1/2017 0:00 8341
8/1/2017 0:00 9295
9/1/2017 0:00 8923
10/1/2017 0:00 8939
11/1/2017 0:00 8213
12/1/2017 0:00 6902
1/1/2018 0:00 7965
2/1/2018 0:00 8042
3/1/2018 0:00 8906
4/1/2018 0:00 8758
5/1/2018 0:00 8965
6/1/2018 0:00 8382
7/1/2018 0:00 8656
8/1/2018 0:00 8901
9/1/2018 0:00 8101
10/1/2018 0:00 8439
11/1/2018 0:00 2952
Here is the function I'm using but it's not calculating the slope correctly being the Known[X] values are a date.
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 |
---|---|
114 | |
99 | |
82 | |
70 | |
61 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |