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.
I am using measures to calculate a failure rate and display it on a line chart. I want this line chart to have its legend set by a field called failure mode. The two measures I have to calculate the failure rate measure are:
The first data point in this line chart should be 20%, etc.
The following link is to a .pbix file that has a sample report/data that shows what I am talking about:
https://drive.google.com/file/d/10tOYSEt6w-_WfEBi6L-oaamE1il9c6ws/view?usp=sharing
@csaethre19 , when you use legend and still you want cumulative to work. You shlould use date table in measure , visual and slicer
example
Cumm Sales = CALCULATE(SUM(Sales[Sales Amount]),filter(all('Date'),'Date'[date] <=max('Date'[date])))
Cumm Sales = CALCULATE(SUM(Sales[Sales Amount]),filter(allselected(date),date[date] <=max(date[Date])))
Cumm Based on Date = CALCULATE([Net], Window(1,ABS,0,REL, ALL('date'[date]),ORDERBY('Date'[date],ASC)))
Cumm Based on Date = CALCULATE([Net], Window(1,ABS,0,REL, ALLSELECTED('date'[date]),ORDERBY('Date'[date],ASC)))
Running Total/ Cumulative:
https://www.youtube.com/watch?v=h2wsO332LUo&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=42
Why Time Intelligence Fails - Powerbi 5 Savior Steps for TI :https://youtu.be/OBf0rjpp5Hw
https://amitchandak.medium.com/power-bi-5-key-points-to-make-time-intelligence-successful-bd52912a5b...
To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s. Refer :radacad sqlbi My Video Series Appreciate your Kudos.
Thank you for the provided resources. After watching the videos I am still not sure that the extra date table is making a difference. I went ahead and added a separate date table as instructed in the second video. I made a relationship (1-to-many) between the date table and my fact table. I set the x-axis in my visual to use the date table instead of the experiment start time field in my fact table. I am not seeing any difference in the way this graph behaves when the legend is set.
I have provided a link to my updated .pbix file if you are able to take a look.
https://drive.google.com/file/d/1jHBs-DYAyATDpbytLeNM8If0XIg_ZqUZ/view?usp=sharing
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 |
---|---|
110 | |
99 | |
80 | |
64 | |
57 |
User | Count |
---|---|
145 | |
110 | |
91 | |
84 | |
66 |