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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Bhoobala_P
Frequent Visitor

Use Column Name as Filter

Guys,

 

I have a dataset like this:

Customer IDonsite/offshoreRegion01-01-201101-02-201101-03-201101-04-2011
Customer1onsite   Kuwait200000200000200000300000
Customer2offshoreUK200000200000200000300000
Customer3onsite   USA210000210000210000210000
Customer4offshoreUSA220000220000220000220000
Customer5offshoreUSA210000210000210000230000
Customer6offshoreDenmark220000220000220000240000
Customer7onsite   Australia230000230000230000250000

 

I want to create a chart for the data, with time filter (viz., the column name).

Problems I face are:

1. When I load this data into Power BI, it will not load date as a column name!! Instead it gives default column names (Column4, Column5, Column6, etc). How to load date as column name??

 

2. Assuming I can upload data with dates as column names, I make a duplicate of the table. If I use unpivot data by selecting the date columns alone (i.e., column 4 to 7) from the duplicate. I will get Attribute column which contains unique value of dates:

Attribute
01-01-2011
01-02-2011
01-03-2011
01-04-2011

However, if I try to use this attribute column as a filter, it doesn't work!! How can I establish relationship between data in the original table and the attribute column of duplicate table?

 

P.S. Is there any other way to sort out this issue??? Pls help!

10 REPLIES 10

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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