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'm working on some Formula1 data and want to show a drivers fastest lap at various circuits, and the lap record at those circuits side by side as a comparison.
The data looks like this in table view:
The page receives a Driver filter from another page drillthrough command, there's also a user filter on year (season) so multiple years can be selected.
I'm trying to display this in a stacked column chart, or a line and column but when I add the CircuitLapRecord to the Values box it automaticaly changes to 'Count of...'. I can't add the DriverFastestLap to the values box at all.
Apologies, I'm fairly new at PowerBI and this one has me stumped!
Thanks,
Nick.
Solved! Go to Solution.
Hi @Anonymous ,
You could use split to configure your time value.
Then you could use splitted column 1 *60+splitted column 2 to get final time.
Hi @Anonymous ,
You could use split to configure your time value.
Then you could use splitted column 1 *60+splitted column 2 to get final time.
What is the datatype of the CircuitLapRecord?
Ah - it's a Text data type, which I guess is my problem.
However, if I try to convert it to time, I get the following error:
The powerbi engine doesn't like the conversion to a time (not a timespan - it's trying to convert to 1:22am with .683 secs)
The power query engine is more flexible but I don't think it's going to give you what you want which is a duration in h,m,s (which can be used in powerbi front end, manipulated mathematically and displayed correctly). Power Query has a duration type but power bi doesn't.
I see that you have a Duration column which is a decimal and this is probably your best option to use for the axis. You could put the text circuitlaprecord column in the tooltips section of the chart so it's still available.
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 |
---|---|
111 | |
97 | |
80 | |
69 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |