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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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
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!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.