Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. 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.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 51 | |
| 37 | |
| 35 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 69 | |
| 65 | |
| 39 | |
| 33 | |
| 23 |