Forum Discussion

d_shaw1's avatar
d_shaw1
New Member
2 years ago
Solved

power bi help

a few questions regarding objectives 11 and 12 in the "visualize school library data with power bi" section.
 
- the "date" and "date returned" and another item on the right hand side seem to be formatted differently than the instructors, they show a hierarchy that includes quarters/months/etc when I move it to one of the fields or values and have a symbol next to it. I think this is why my data isn't populating correctly.
- can't get the total days on loan aligned with the total loans. The 2K won't change or center despite following instruction.
- the entire chart that is supposed to be under the total loans by the school year is not populating.
 
I am unable to attach a screenshot in this forum. 
  • Hi d_shaw1 -The issue you're describing with the date fields showing a hierarchy (including quarters, months, etc.) is common in Power BI. This is because Power BI automatically creates a date hierarchy for date fields. To address this:

    Convert Date Fields to Single Date Values:
    Go to the field list on the right-hand side>>Find the Date and Date Returned fields >>Click the dropdown arrow next to the date field.
    Select the field name itself (e.g., Date) instead of the hierarchy. This will use the date as a single value rather than a hierarchy.
    This should help in ensuring that your data is populated correctly without being broken down into quarters, months, etc.

    2. Aligning Total Days on Loan with Total Loans
    To align the total days on loan with the total loans, you need to ensure both measures are formatted correctly and positioned as required:

    Formatting and Centering Measures:
    Select the visual that contains the total days on loan.
    Go to the Format pane>>Under the Data Labels section, ensure that labels are centered >>Adjust the position and alignment as needed.
    If the formatting still doesn’t change, double-check the steps in the instructions to ensure there are no missing configurations.

    3. Chart Not Populating Under Total Loans by School Year
    When a chart is not populating, it could be due to several reasons such as filters, data model issues, or misconfigured visual settings:

    Check Data Filters:

    Make sure there are no active filters that might be preventing data from showing.
    Verify that your data model relationships are set up correctly, particularly between the Loans and School Year tables.
    Ensure Correct Fields are Used:

    Double-check that you are using the correct fields in the Axis, Values, and Legend sections of your chart.
    Ensure that the School Year field is correctly linked to the relevant data.

     

    Did I answer your question? Mark my post as a solution! This will help others on the forum!
    Appreciate your Kudos!!

1 Reply

  • Hi d_shaw1 -The issue you're describing with the date fields showing a hierarchy (including quarters, months, etc.) is common in Power BI. This is because Power BI automatically creates a date hierarchy for date fields. To address this:

    Convert Date Fields to Single Date Values:
    Go to the field list on the right-hand side>>Find the Date and Date Returned fields >>Click the dropdown arrow next to the date field.
    Select the field name itself (e.g., Date) instead of the hierarchy. This will use the date as a single value rather than a hierarchy.
    This should help in ensuring that your data is populated correctly without being broken down into quarters, months, etc.

    2. Aligning Total Days on Loan with Total Loans
    To align the total days on loan with the total loans, you need to ensure both measures are formatted correctly and positioned as required:

    Formatting and Centering Measures:
    Select the visual that contains the total days on loan.
    Go to the Format pane>>Under the Data Labels section, ensure that labels are centered >>Adjust the position and alignment as needed.
    If the formatting still doesn’t change, double-check the steps in the instructions to ensure there are no missing configurations.

    3. Chart Not Populating Under Total Loans by School Year
    When a chart is not populating, it could be due to several reasons such as filters, data model issues, or misconfigured visual settings:

    Check Data Filters:

    Make sure there are no active filters that might be preventing data from showing.
    Verify that your data model relationships are set up correctly, particularly between the Loans and School Year tables.
    Ensure Correct Fields are Used:

    Double-check that you are using the correct fields in the Axis, Values, and Legend sections of your chart.
    Ensure that the School Year field is correctly linked to the relevant data.

     

    Did I answer your question? Mark my post as a solution! This will help others on the forum!
    Appreciate your Kudos!!