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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Sonalin
Regular Visitor

Filter a column using another column

I am tryin to calculate quarter  over quarter groth in power BI. My client used diffrent fisacl calender 

 

I Have Quarter ID and Bookings column in my table I need to get value of last year same quarte booking in third column please help. for example in calculated column I need to get valule for 2016Q1 QoQBookings net (1,003,363,413.19 - 2015Q1 bookings net)

 

snimkard@cisco.com_20180124_174741471.png

1 ACCEPTED SOLUTION
v-chuncz-msft
Community Support
Community Support

@Sonalin,

 

You may add a calculated column as follows.

Column =
LOOKUPVALUE (
    Table1[Bookings Net],
    Table1[Fiscal Quarter ID], ( LEFT ( Table1[Fiscal Quarter ID], 4 ) - 1 )
        & RIGHT ( Table1[Fiscal Quarter ID], 2 )
)
Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-chuncz-msft
Community Support
Community Support

@Sonalin,

 

You may add a calculated column as follows.

Column =
LOOKUPVALUE (
    Table1[Bookings Net],
    Table1[Fiscal Quarter ID], ( LEFT ( Table1[Fiscal Quarter ID], 4 ) - 1 )
        & RIGHT ( Table1[Fiscal Quarter ID], 2 )
)
Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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