cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
RichieJW
Regular Visitor

Creating columns filtering on another

Hi,

I have tried a few of the other tips on here to help me with this, however I cannot get them to work, and I'm sure it should be so simple!

 

I have 2 columns of data: -

'BaselineNumber' - which has numbers ranging from 0-10 inclusive

'ProjectBaselineFinishDate' - which is a date (dd/mm/yy)

 

I need to create 11 columns of data showing the 'ProjectBaselineFinishDate' for each 'Baseline Number'. As I need to do this in the same table, I'm struggling to use the visual filters.

So, my output should be 11 columns, with: -

'ProjectBaselineFinishDate' - only showing 'BaselineNumber' 0, displayed as a date

'ProjectBaselineFinishDate' - only showing 'BaselineNumber' 1, displayed as a date

'ProjectBaselineFinishDate' - only showing 'BaselineNumber' 2, displayed as a date

etc., all the way up to 10 and all able to be displayed in the same table.

 

Many thanks,

Rich

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@RichieJW , You have two to create 10 columns like

B0 = if([BaselineNumber] =0 ,[ProjectBaselineFinishDate], blank())

 

B1 = if([BaselineNumber] =1 ,[ProjectBaselineFinishDate], blank())

 

Or in visual you can use Matrix

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@RichieJW , You have two to create 10 columns like

B0 = if([BaselineNumber] =0 ,[ProjectBaselineFinishDate], blank())

 

B1 = if([BaselineNumber] =1 ,[ProjectBaselineFinishDate], blank())

 

Or in visual you can use Matrix

Thanks @amitchandak , I'll give this a go and will accept as solution if all good.

Appreciate your time.

Rich

Helpful resources

Announcements
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

BizApps LATAM 2023

Business Application LATAM Summit 2023

Join the biggest FREE Business Applications Event in LATAM this February.

Power Platform Bootcamp

Global Power Platform Bootcamp

In this bootcamp we will deep-dive into Microsoft’s Power Platform stack with hands-on sessions and labs, delivered to you by experts and community leaders.