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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
love
Helper I
Helper I

How to connect and visualize values from different sources with shared configurations

Hello.

 

 

Reference file (Dropbox): https://www.dropbox.com/s/pgj4170swazar6e/MockUp2.pbix?dl=0

Description: File contains two queries, one for open work ("Tasks") and one for available resources ("Availability"). The open work has calculated measures attached which allows the user to use a date slicer to see how much work is remaining per configuration for a specific time frame. Currently I am not able to put availability for a specific time frame next to work.

 

 

Untitled2.jpg

 

 

User Story: I would like to display available resources (Availability[HoursTotal]) and work (Tasks[Work (h)]) for the time frame selected in the date slicer in one column chart

  • Current behavior which I am not able to solve: If I add "Availability[HoursTotal]" to the column visualization it will display the complete sum of it for each configuration on not react to the date slicer
  • Expected behavior: "Availability[HoursTotal]" only displays the hours available within the range of the data slicer for each of the configurations on the x-axis

 

 

Further challenges: Additionally I am looking into having another column chart with "Availability[Team]" as value on the x-axis and then columns which indicate a) "Tasks[Work (h)]" per team and b) "Availability[HoursTotal]" per team.

 

 

Thank you,

-L

 

1 ACCEPTED SOLUTION
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @love,

 

I noticed that there isn't any relationship between 'Availability' and 'CalendarTable'. So, the Availability[HoursTotal] won't be affected by the selected date range from slicer. You may create a measure similar to:

Hours total measure =
CALCULATE (
    SUM ( Availability[HoursTotal] ),
    FILTER (
        Availability,
        Availability[Date] >= MIN ( CalendarTable[Date] )
            && Availability[Date] <= MAX ( CalendarTable[Date] )
    )
)

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @love,

 

I noticed that there isn't any relationship between 'Availability' and 'CalendarTable'. So, the Availability[HoursTotal] won't be affected by the selected date range from slicer. You may create a measure similar to:

Hours total measure =
CALCULATE (
    SUM ( Availability[HoursTotal] ),
    FILTER (
        Availability,
        Availability[Date] >= MIN ( CalendarTable[Date] )
            && Availability[Date] <= MAX ( CalendarTable[Date] )
    )
)

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hello @v-yulgu-msft and thank you very much for your reply. Creating this relationship was what I was working on but I did not succeed, I am testing your proposal right now and it seems to work very well, thank you!

 

Would you also have an insight on how to now have both availability & work displayed in the same column chart? I am completly stuck on this challenge.

love
Helper I
Helper I

@Zubair_Muhammad would you please be so kind to maybe help me out another time here?

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.