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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
rajendraongole1
Post Prodigy
Post Prodigy

Not reporting blank data when i use x axis with Quarterly date.

Hi

 

I am not getting all the data when i am using quarterly date on X axis

 

visual is coming with skipping the value which is not having the data and reporting with valued data.

 

I need to report in line chart with blank as zero for that quarterly.

 

i am using the condition as below when i select male & female some of the values are reporting properly but some not.

 

text= IF(OR(ISBLANK(table[column]),table[column]=0),"MALE","FEMALE")
 
Let me know if i need to add anything.
 
before that i have applied for that particular column with show item with no data also. but no luck.
 
i want to report all the quarterly data with 0 even it is blank without skip of that particular quarter.
 
Please suggest.
1 ACCEPTED SOLUTION

@rajendraongole1 ,

 

Modify the measure:

result =
IF (
    ISBLANK ( tablename[column] )
        || tablename[column] = 0
        || tablename[column] = null,
    "MALE",
    "FEMALE"
)

Community Support Team _ Jimmy Tao

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

4 REPLIES 4
rajendraongole1
Post Prodigy
Post Prodigy

Hi 

 

As per attached chart., is there any way to report missed data points in line chart with "0" tried with show items with no data option for x axis. but not coming. Let know is there any way?

 

imag.png?

 

Thanks for the response..

 

I have written calculated column as below:

 

tablename[column] is numeric data.

 

IF(ISBLANK(tablename[column])||tablename[column] = 0 || tablename[column] = "","MALE","FEMALE")
 
in the above,facing err like integer value comparing with string which is not accepting it as new column. 
 
Any suggestions

@rajendraongole1 ,

 

Modify the measure:

result =
IF (
    ISBLANK ( tablename[column] )
        || tablename[column] = 0
        || tablename[column] = null,
    "MALE",
    "FEMALE"
)

Community Support Team _ Jimmy Tao

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

v-yuta-msft
Community Support
Community Support

@rajendraongole1 ,

 

Modify the calculate column using dax below:

text =
IF (
    ISBLANK ( table[column] )
        || table[column] = 0
        || table[column] = "",
    "MALE",
    "FEMALE"
)

Community Support Team _ Jimmy Tao

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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