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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Helper II
Helper II

Matrix full of measures - when formatting blank rows show up!

Hi everyone,

I have generated a matrix full of measures a bit like this 



and the result is brilliant, showing something like this:


However, i'm trying to format the values (e.g. Area to 1 decimal place, Tonnes rounded to nearest number etc)

 and so i attempted a format function:


and suddenly all these blank rows show up with no data (but is all the available dates in my date table which is one of the columns)


Does anyone know (1) is there another way to format my numbers in the matrix full of measures and / or why the table suddenly show so many empty rows?


Not applicable

I ran into the same issue, using the LEN function to return blanks in case of zero characters worked for me:


VAR Result = .... (your measure that includes formatting)



IF(LEN(Result)=0, BLANK(), Result)
Super User
Super User

@ssze , Difficult to tell without looking at data.


The formatting it changing it into text. That might have cause this issue. There was the solution proposed by Guyinacube using external tools. See if that can help


measure slicer

thanks @amitchandak , i had a look at the youtube and it looks good (although i'm still struggling to wrap my head around it a bit, as the values are not showing as i want).

i tidied up my example and hope this works for a download:


the top table has all the data i want,



but i want to format it to the table below (i have compiled all the measures into a matrix)so i can have 2 layer headers



however, i want to be able to format the columns differently 

e.g. area to 1 decimal place, 

volume tonnes to nearest digit, but t/ha to 1 decimal place, sales to $ etc etc.


Would really appreciate any feed back. Been going through google searches for ages now and can't come up with much more!



Not applicable



i formatted already the first 6 columns, I let you do the rest 😉 



Measure =
MAX(MYOB_Group[Measure Name])="Area", IF(sum(HarvestSummary[Area (ha)]) <> BLANK(), FORMAT(sum(HarvestSummary[Area (ha)]), "0.0"), BLANK() ),
MAX(MYOB_Group[Measure Name])="Volume",IF(sum(FLITS[Nett]) <> BLANK(), FORMAT(sum(FLITS[Nett]), "0"), BLANK() ),
MAX(MYOB_Group[Measure Name]) = "Volume (t/ha)", IF([Vol_tperha] <> BLANK(), FORMAT([Vol_tperha], "0"), BLANK()),
MAX(MYOB_Group[Measure Name]) = "Log Sales", IF([Calc_LogSales] <> BLANK(), FORMAT([Calc_LogSales] * -1, "($ 0)"), BLANK()),
MAX(MYOB_Group[Measure Name]) = "Log Sales ($/t)", IF([Calc_LogSales_per_ton] <> BLANK(), FORMAT([Calc_LogSales_per_ton] *-1, "($ 0.00)"), BLANK()),
MAX(MYOB_Group[Measure Name]) = "Logging", IF([Calc_Logging] <> BLANK(), FORMAT([Calc_Logging], "$ 0"), BLANK()),
MAX(MYOB_Group[Measure Name]) = "Logging ($/t)", [Calc_Logging_per_ton],
MAX(MYOB_Group[Measure Name]) = "Cartage", [Calc_Cartage],
MAX(MYOB_Group[Measure Name]) = "Cartage ($/t)", [Calc_Cartage_per_ton],
MAX(MYOB_Group[Measure Name]) = "Management ($)", [Calc_Mgt_Total],
MAX(MYOB_Group[Measure Name]) = "Management ($/t)", [Calc_Mgt_per_ton],
MAX(MYOB_Group[Measure Name]) = "Gross Stumpage", [GrossStumpage],
MAX(MYOB_Group[Measure Name]) = "Gross Stumpage ($/t)", [GrossStumpage_per_ton],
MAX(MYOB_Group[Measure Name]) = "Gross Stumpage ($/ha)", [GrossStumpage_per_ha],
MAX(MYOB_Group[Measure Name]) = "Roads & Landings", [Calc_Roads_Total],
MAX(MYOB_Group[Measure Name]) = "R&L ($/t)", [Calc_Roads_per_ton],
MAX(MYOB_Group[Measure Name]) = "R&L ($/ha)", [Calc_Roads_per_hac],
MAX(MYOB_Group[Measure Name]) = "Other", [Calc_Other],
MAX(MYOB_Group[Measure Name]) = "Other ($/t)", [Calc_Other_per_ton],
MAX(MYOB_Group[Measure Name]) = "Net From Harvest", [Calc_Net],
MAX(MYOB_Group[Measure Name]) = "Net From Harvest ($/t)", [Calc_Net_per_ton],
MAX(MYOB_Group[Measure Name]) = "Net From Harvest ($/ha)", [Calc_Net_per_ha],
If this solves your problem, please mark it as the solution so others can find it.

Helpful resources

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.


Power BI Monthly Update - May 2024

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


Fabric certifications survey

Certification feedback opportunity for the community.