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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Anonymous
Not applicable

Assistance

Hi Team,

 

I'm very new to Power BI and I'm creating a report 

 

I've a Text column where Numberic and Non Numberic data is present.

 

Ex: The column value contains:

 

2,3,5,9,13,15,78,89,Completed,255,230,Completed,3,5,18

 

And I've to put this in a chart segregating numeric and non numeric data (counting number of numeric data and non numeric data)

 

The graph should contain:

 

13 - Numeric

2 - Completed

 

 

 

 

 

 

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

hi @Anonymous 

You could create a new calculated column as below:

https://docs.microsoft.com/en-us/dax/value-function-dax

Type = IF(ISERROR(VALUE('Table'[Column1])),'Table'[Column1],"Numeric")

3.JPG

Then drag this new column and basic column into a visual and set Column1 is "Count"

Result:


4.JPG

 

and here is sample pbix file, please try it.

 

Regards,

Lin

Community Support Team _ Lin
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

2 REPLIES 2
v-lili6-msft
Community Support
Community Support

hi @Anonymous 

You could create a new calculated column as below:

https://docs.microsoft.com/en-us/dax/value-function-dax

Type = IF(ISERROR(VALUE('Table'[Column1])),'Table'[Column1],"Numeric")

3.JPG

Then drag this new column and basic column into a visual and set Column1 is "Count"

Result:


4.JPG

 

and here is sample pbix file, please try it.

 

Regards,

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
amitchandak
Super User
Super User

@Anonymous ,Can you let us know how data looks in tabular format.Can you share sample data and sample output.

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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