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

The Fabric community is upgrading! Read all of the details including the timeline and what you can expect. Learn more

Reply
Anonymous
Not applicable

New Measure with null fields

I work in Safety, health and enviroment team in a company.

For that, i need some results about safety forms.

 

I've created a column with SWITCH funciton, to categorize form data.

 

Then, i made anothers measures, to COUNTROWS for each category that i want to know how many forms are.

 

After that, i put all these measures and the category data in a new bar chart. Unfortunetly, i'm not able to make all these measure data be on the same column, they always let some data in blank.

 

I'm not trying to make another table because i dont want to lose my relationships between tables that already exists.

 

Can you guys give me some help?

 

Bellow, my codes and my chart.

 

Each category, has: RETAIL_QUANTIDADE = COUNTROWS(FILTER('TB_PIRAMIDE';'TB_PIRAMIDE'[SECTOR_SITE] = "RETAIL"))

And the graph with the data:

 

2 REPLIES 2
Greg_Deckler
Community Champion
Community Champion

I think that you need to create a single column in your table that has the value you want to display so that basically you only have your "category" and your "value" as columns in your visual.

 

Tough to say really, I'm not sure I'm following this.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Well, and what about the relationship? I dont know how to do that without losing the relationship. And, in advance, i cannot relation two measures, right?

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.