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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
jschaefer
Frequent Visitor

Toggle for Columns on a Line and clustered column chart

Hello,

 

I have the following data sets:

 

Task Details:

Task NameDateSystem
task 11/1/2021

system 1

task 22/1/2021system 2
task 33/1/2021system 1

 

System Dates: 

SystemDescriptionDate
System 1Test 11/2/2021
System 1Test 21/3/2021
System 2Test 32/1/2021

 

I am looking for a way to display the count of tasks from Task Details as lines graphed over time and display the Date from the System Dates as a vertical bar for each occurance.  I would like to be able to filter on Task Name and toggle the System Dates on and off.

 

As you can see there is a many to many relationship between system from Task Details and System Dates.

 

Any thoughts? 

1 REPLY 1
amitchandak
Super User
Super User

@jschaefer , Create two common tables Date and System, Join them with both tables and used these common tables to analyze data together

 

For system

A new table, to joined with both table on system

Distinct(union(Distinct(Task[System]),Distinct(System[System])))

 

Bridge Table: https://www.youtube.com/watch?v=Bkf35Roman8&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=19

 

For Date

To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s. Refer :radacad sqlbi My Video Series Appreciate your Kudos.

 

We need to prefer start schema in power bi

 

https://www.sqlbi.com/articles/the-importance-of-star-schemas-in-power-bi/

 

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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