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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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