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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
unnijoy
Post Partisan
Post Partisan

Column Header is coming in column values

I have a table in which i add month on month data. But when i refresh the table this month i am getting a error saying data format error. When i check the table in Bi i can see that the column name MONTH is coming in Values. when i Filter that Month it working. But its is very tough whne we have more data . How can we avoide this so that the column name won't come in Column Values.

 

Month
February-22
March-22
April-22
May-22
June-22
July-22
Month
August-22
5 REPLIES 5
v-zhangti
Community Support
Community Support

Hi, @unnijoy 

 

You can try the following methods.

In Power Query:

vzhangti_0-1675840727154.pngvzhangti_1-1675840756621.png

Close and apply.

 

Then in Power BI Desktop, change the text format of the column to date format.

vzhangti_2-1675840872085.png

vzhangti_3-1675840993335.png

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-zhangti ,

 

Thanks for the reply. We use this solution. But the issue is that whe we ahve more data it will take a lot of time to filter and  what make is confused is that how it this header comes in Value. We have already make use of Convert First row as Header. is this some issue with the Powerbi or am i doing somthing wrong.

AlexanderPrime
Solution Supplier
Solution Supplier

Check how it's coming in via Power Query. There is an option to Promote the top row to become the header of the row within Power Query so if you are importing a table with it's header, you'll need to tell Power Query to treat it as such. 


Please note - I am not affiliated with Microsoft, I'm just an end user like yourself.
Just a regular guy doin' Data Science.

If my post has helped you, please don't forget to thumbs up or click "Accept as solution" if it solved your problem!

@AlexanderPrime ,

 

I am using the option that to treat first row as header. But when we add data Month on Month sometimes the Header name is coming in the value. As you can see in the above . How can we avoide it. Any suggestion

Is it showing in Power Query too? If so you can remove rows by value, so you can instruct it to not process any row with the name "month" in it. 


Please note - I am not affiliated with Microsoft, I'm just an end user like yourself.
Just a regular guy doin' Data Science.

If my post has helped you, please don't forget to thumbs up or click "Accept as solution" if it solved your problem!

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.