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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
thhmez7
Helper III
Helper III

Show Values by Month_Year (Date) based on another date field

Hello,

 

I'd like to create a measure for Revenue that shows the value by a date field, based on another date field which I filter. 

Example: When I click on the date 17th March 2021 of modifiedon-date, the chart above should show the value of March 2021 by Est. close date.

 

thhmez7_0-1643653191814.png

Probably I have to use selectedvalue with modifiedon, but I'm not sure. Thank you in advance

1 ACCEPTED SOLUTION
thhmez7
Helper III
Helper III

ALready got the solution.

Inactive relationship between fields yearmonth

 

then create a measure like this:

Calculate( sum(revenue)

, field = Selectedvalue(field)

, userelationship('a'yearmonth, 'b'yearmonth))

View solution in original post

1 REPLY 1
thhmez7
Helper III
Helper III

ALready got the solution.

Inactive relationship between fields yearmonth

 

then create a measure like this:

Calculate( sum(revenue)

, field = Selectedvalue(field)

, userelationship('a'yearmonth, 'b'yearmonth))

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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