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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Muhammed
Frequent Visitor

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 @Muhammed 

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 @Muhammed 

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

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

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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