Skip to main content
cancel
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.

Reply
Anonymous
Not applicable

Matrics Table with Blank Rows

Hello,

I am facing weird issue when using Matrix Visualization to show Measure in the rows. it shows blank instead of 0.

Note: if i use simple table visualization the same rows shows 0 and not blank. Data set has rows with 0.

My source of data is SAP BW BEX query.

I searched up other post and tried to add 0 in the value which didnt help.

Also, tried: Column = IF ( ISBLANK(CALCULATE(SUM( ('YKP CATS Report for IM Team'[CATS HOURS])))), 0 ,CALCULATE(SUM('YKP CATS Report for IM Team'[CATS HOURS])))

Which didnt help either.

krpatel_0-1610058046524.png

This blank is causing me issue for further % calculations.

I am using total of row into further calculation example:

 Measure = DIVIDE( SUM ('YKP CATS Report for IM Team'[Actual Working Days]), 'YKP CATS Report for IM Team'[Measure Calc])*100

 

Where,

Actual Working Days = Total of Rows from above table.

 Measure Calc = ('YKP CATS Report for IM Team'[Max of Month]*'YKP CATS Report for IM Team'[Target Working Days])

 

Max of month (Period) and Target Working date :

krpatel_1-1610058161041.png

 

But coz the blank rows I get below:

 

krpatel_2-1610058161065.png

 

I am assuming that if i can resolve and replace blank with 0 , i will be able to solve my % issue and infinity will be gone.

Can someone help ?

 

Regards,

K

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , You can add +0 but that can add additional values as it will create left join

example : Measure = DIVIDE( SUM ('YKP CATS Report for IM Team'[Actual Working Days]), 'YKP CATS Report for IM Team'[Measure Calc])*100 +0

 

This may be better

Measure = DIVIDE( SUM ('YKP CATS Report for IM Team'[Actual Working Days]), 'YKP CATS Report for IM Team'[Measure Calc] , 0)*100

 

Also Not need to multiply by 100 as you can mark it % column from Measure tool

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@Anonymous , You can add +0 but that can add additional values as it will create left join

example : Measure = DIVIDE( SUM ('YKP CATS Report for IM Team'[Actual Working Days]), 'YKP CATS Report for IM Team'[Measure Calc])*100 +0

 

This may be better

Measure = DIVIDE( SUM ('YKP CATS Report for IM Team'[Actual Working Days]), 'YKP CATS Report for IM Team'[Measure Calc] , 0)*100

 

Also Not need to multiply by 100 as you can mark it % column from Measure tool

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.