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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
escalas
Frequent Visitor

Graph made from two dimensions

Hi everyone,

 

It's hard to explain what I want to do but I'll try.  I have it done with excel.

 Capture1.PNG

 My goal is obtain the last (grey) column. The calculus is the sum of the blue columns divided by the first row. And the dimension on the left is 'Closed Date'. 

 

Untitled1.png

 

 The problem is that in SR totals(1st column) when I filter the data the dimension is 'Created Date'. But on the blue columns the dimension is 'Closed Date'.  My final goal is make a graph with a 'Closed Date' dimension.

In excel I do all the filtering with the tools above and then I put the values ​​by hand in the table. The table has a Closed Date dimension so I put the SR total that has Created Date dimension as if it were the Closed Date. So the question is if I can do this 'cheat' with powerbi. 

Then from this table I make the graph below.

Capture2.PNG

 

 Thanks in advance.

 

 

 

1 ACCEPTED SOLUTION
spuder
Resolver IV
Resolver IV

Hi,

 

I can't see in your data the complete thing. But have a look at the DAX expression USERELATIONSHIP()

 

It allows you to handle with e.g. 2 date columns in one table. It is used as a filter argument in the CALCULATE() function.

View solution in original post

2 REPLIES 2
spuder
Resolver IV
Resolver IV

Hi,

 

I can't see in your data the complete thing. But have a look at the DAX expression USERELATIONSHIP()

 

It allows you to handle with e.g. 2 date columns in one table. It is used as a filter argument in the CALCULATE() function.

thanks @spuder !! That's exacly what I needed

Helpful resources

Announcements
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 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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