Your report includes a clustered bar chart with Month Name on the axis and SalesAmount as the value. The bars currently appear in alphabetical order. A FiscalMonthNumber column (1-12) exists in the same table. You want the chart to display the months in fiscal sequence. Which action should you take in Power BI Desktop?
Create a hierarchy of FiscalMonthNumber and Month Name, add it to the axis, and disable drill-down.
Enable the Auto date/time option in File > Options and sort the visual by Year-Month.
Select the Month Name column in Model view, choose Sort by column, and set FiscalMonthNumber, then sort the visual by Month Name ascending.
In the visual header, change the sort field to FiscalMonthNumber and choose ascending.
To force a text column (Month Name) to follow a custom numerical order, you first select that column in Data or Model view and use Column tools > Sort by column to choose FiscalMonthNumber. This sets the month names to use the fiscal numbers for ordering. After that, simply sorting the visual by Month Name (ascending or descending) follows the new numeric order. Changing the sort field in the visual header would require FiscalMonthNumber to be on the visual, which it is not. Building a hierarchy or enabling Auto date/time does not influence the alphabetical sorting of Month Name.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
Why does Power BI use a 'Sort by column' feature?
Open an interactive chat with Bash
How is a numerical column used for sorting text data?
Open an interactive chat with Bash
What happens if you directly sort by a numeric column in the visual header?
Open an interactive chat with Bash
Microsoft Power BI Data Analyst
Visualize and Analyze the Data
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .