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

Next 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

Reply
synaptical
Helper I
Helper I

Visualise different dates of 3 categories over time

Hi community

 

I try to visualise (I thought of an area chart/line chart) various dates over a timeline which are related to one column (Offer Type) consisting of three entries/categories (Small, Medium, Large).

 

The goal is to visualise, in which months we had or will have peaks due to new offers, due submissions and when we expect the orders to fly in. A monthly scale visualsation is sufficient (we currently do not need to be more granular).

 

Table: Offers

 Offer TypeOffer StartOffer SubmissionEstimated Order
Small15.01.202428.01.202415.02.2024
Medium20.01.202410.02.202420.02.2024
Large15.02.202415.04.202430.06.2024
Medium01.03.202401.06.202415.07.2024
Large10.03.202415.06.202430.08.2024

 

I also have created another table (Calendar) which contains all the dates - starting from earlist Offer Start date and end with latest Estimated Order date. There are currently no relations between them.

 

 

Calendar = CALENDAR(MIN('Offers'[Offer Start]),MAX('Offers'[Estimated Order]))

 

 

 

How could I achieve such a visualisation? Taking the example above, we would have a peak in March 2024 (Medium and Large starting) because they start more or less together. Also in June 2024, as there are two submissions - means we would be limited in starting new offers then.

Any help is kindly appreciated.


1 ACCEPTED SOLUTION
danextian
Super User
Super User

Hi @synaptical 

 

Right click Offer Type in the query editor and select Unpivot Other Columns which should move the names and the values of the other column into their own columns

danextian_0-1736653309970.png

Alternatively, you can in create an inactive relationships with two of the date columns. The broken lines in the screenshot below are for an inactive relationship as there can only be one active relationship between two tables.

danextian_3-1736654546332.png

Then use USERELATIONSHIP to invoke such a relationship. Please see the attached pbix.

 

 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

View solution in original post

7 REPLIES 7
danextian
Super User
Super User

Hi @synaptical 

 

Right click Offer Type in the query editor and select Unpivot Other Columns which should move the names and the values of the other column into their own columns

danextian_0-1736653309970.png

Alternatively, you can in create an inactive relationships with two of the date columns. The broken lines in the screenshot below are for an inactive relationship as there can only be one active relationship between two tables.

danextian_3-1736654546332.png

Then use USERELATIONSHIP to invoke such a relationship. Please see the attached pbix.

 

 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Hi @danextian 

 

Thank you so much for your help and the .pbix file. I was able to understand and learn the concept behind. And thanks for the measures in NotPivoted - without them I wouldn't understand the big pic. I was then able to create my needed line chart showing the progression of my three dates.

 

Thank you again for your solution and help.

My pleasure to have helped.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.
Ashish_Mathur
Super User
Super User

Hi,

the very first thing you should do is right click on the first column and select "Unpivot Other Columns".  Next, create a relationship (Many to One and Single) from the Value column to the Date column of the Calendar table.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Hi, thanks for your reply. I opened the edit query and selected unpivot columns (column Offer Type). Now I have in every column just "error" - I get the data for the Offers table by connecting to a SharePoint list.

You are doing something wrong.  Please retry. 


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Thank you. This is exceeding my beginner skills in Power BI. Also I would have to recreate the whole dashboard, as in the real project I have of course much more columns, like customer name, responsible people etc. I thought of an approach using measures or something.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.