Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
ABonx
Regular Visitor

Date hierarchy

Hello, 

I have two data sets in my power both have dates in and number values. I want to create a bar chart that puts the values side by side calulating the totals in line with dates. My bar chart does not calulate properly due to (i think) the heirarchy seen below. I have alredy turned off the automatic hierachy settings, this has not resolved the issue. What else can i do? 

 

ABonx_0-1741602642670.png

 

1 ACCEPTED SOLUTION
v-csrikanth
Community Support
Community Support

Hi @ABonx 
Could you please share the sample data or pbix file if there is no sensitive information.
I will try my best to resolve your issue. Else do share your requirement in detail so that I am happy to assist you on your issue.

Best Regards,
Cheri Srikanth

View solution in original post

10 REPLIES 10
v-csrikanth
Community Support
Community Support

Hi @ABonx 

It's been a while since I heard back from you and I wanted to follow up. Have you had a chance to provide the sample data or pbix file.
If the issue has been resolved, can you mark the post as resolved? If you're still experiencing challenges, please feel free to let us know and we'll be happy to continue to help!
Looking forward to your reply!

 

Best Regards,
Community Support Team _ C Srikanth.

v-csrikanth
Community Support
Community Support

Hi @ABonx 

I wanted to follow up since I haven't heard from you in a while. Have you had a chance to provide the sample data so that i can have a check and provide the solution.
However, if you're still facing challenges, feel free to share the details, and we'll be happy to assist you further.
Looking forward to your response!


Best Regards,
Community Support Team _ C Srikanth.

v-csrikanth
Community Support
Community Support

Hi @ABonx 
Could you please share the sample data or pbix file if there is no sensitive information.
I will try my best to resolve your issue. Else do share your requirement in detail so that I am happy to assist you on your issue.

Best Regards,
Cheri Srikanth

ABonx
Regular Visitor

Hello @Akash_Varuna 

I still cant resolve this. I have dragged the data i am using into a matrix column so you can see the issue. The sum of calls per day is not adding correctly when using the filters on the right side. The sum of calls per day and visit count come from two different data sets and i have used dates as their relationship. If i remove dates from the relationship connection and use manager name instead i still get the same issue 

ABonx_0-1741949705313.png

 

AnkitKukreja
Super User
Super User

Hi! @ABonx 

 

When you are using the date field please ensure you are turning off the hierarcy from data viz pane. See ss below.
By default it would be selected as hierachy, once you select that you will see the other output shared below.

 

If this is not what you are looking for please share more details and a sample output maybe in excel what exactly you are looking for, this will help in understanding your problem.


AnkitKukreja_0-1741605211678.png

 

AnkitKukreja_1-1741605246958.png

 

 

For Power BI trainings or support dm or reach out to me on LinkedIn.
If my response has successfully addressed your question or concern, I kindly request that you mark this post as resolved. Additionally, if you found my assistance helpful, a thumbs-up would be greatly appreciated.

Thanks,
Ankit Kukreja
www.linkedin.com/in/ankit-kukreja1904

Hello, the bar graph moves in line with the date filter on the left hand side of my report. I have included a screen grab below 

ABonx_0-1741611945713.png

 

Hi! @ABonx 

 

You might have to share a sample pbix file and expected solution and I'll be happy to guide you further. When you say" Hello, the bar graph moves in line with the date filter on the left hand side of my report" what is the expectation here? The date filter will change your graph, in case you don't want that you can turn of the interactions. 

Please be clear with your ask.

 

 

For Power BI trainings or support dm or reach out to me on LinkedIn.
If my response has successfully addressed your question or concern, I kindly request that you mark this post as resolved. Additionally, if you found my assistance helpful, a thumbs-up would be greatly appreciated.

Thanks,
Ankit Kukreja
www.linkedin.com/in/ankit-kukreja1904
Akash_Varuna
Super User
Super User

Hi @ABonx Could you check for these please 

  1. Check Data Type: Ensure the Dates column is set as "Date" in the Modeling tab.
  2. Disable Date Hierarchy: Use the Dates column directly in the chart instead of its hierarchy (Year/Quarter/Month).
  3. Check Relationships: Ensure both datasets are properly related on the Dates column in the Model view.
  4. Use Calendar Table: Create a calendar table with DAX if needed:
    CalendarTable = CALENDAR(MIN(Table[Dates]), MAX(Table[Dates]))
  5. Aggregate Values: Ensure the values are aggregated in the chart.
    If this post helped please do give a kudos and accept this as a solution
    Thanks In Advance

Hi @Akash_Varuna 

I have checked the above. All is ok and correct accept I have not created a date relationship and when  do try and create the relationship between dates i get this error message 

ABonx_0-1741686475548.png

 

Hi @ABonx  The error occurs because Power BI enforces a single, clear filtering path between tables. If there are multiple paths (direct or indirect) that connect two tables, it creates ambiguity about how filters should propagate
To address this you can delete one of the existing indirect relationships or ou can delete one of the existing indirect relationships.If possible, merge tables or create a single fact table

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.