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
I have Power BI data as follows:
flights attribute Value
| Emirates | ETA | 9/09/2021 12:30 |
| Emirates | Arr Time | 9/09/2021 14:50:00 PM |
| Turkish Airlines | ETA | 9/09/2021 17:30:00 PM |
| Turkish Airlines | Arr Time | 9/09/2021 18:50:00 PM |
| Cathay Pacific | ETA | 9/09/2021 19:30:00 PM |
| Cathay Pacific | Arr Time | 9/09/2021 14:50:00 PM |
| Qatar Airways | ETA | 9/09/2021 20:30:00 PM |
| Qatar Airways | Arr Time | 9/09/2021 20:50:00 PM |
| Lefthansa | ETA | 9/09/2021 12:30:00 PM |
| Lefthansa | Arr Time | 9/09/2021 13:50:00 PM |
I need to create a chart in Power BI, flights in x axis, time in y axis and attribute as the fill.
After researching a couple of days, to pot time in y axis the only solution I could find was R.
I changed the data type of column Value to Time and also converted time to integer using the formula below:
The R code I've used is below:
Solved! Go to Solution.
@Anonymous , refer if this can help
https://www.groundflooranalytics.com.au/resources/power-bi/custom-axis-formats-using-r-visuals
Hi,
I need to create a interval on y-axis for the chart which I've produced in Power BI using R.
AS you can see in the above image, in y-axis it displays all the time intervals. Instead I only want it to list every hour so that my chart will look neater.
Help is greatly appreciated.
Regards,
aRa
@Anonymous , refer if this can help
https://www.groundflooranalytics.com.au/resources/power-bi/custom-axis-formats-using-r-visuals
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 |
|---|---|
| 47 | |
| 44 | |
| 40 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 70 | |
| 68 | |
| 32 | |
| 27 | |
| 25 |