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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. 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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.