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
PedroCardoso
Frequent Visitor

Measure in line chart is gone after publish

Hello guys, first-time post on this community!

 

I'm building a report based on JIRA data. I have a table with my JIRA issues, each issue as open and close dates. I created a table with all dates and created two relationships from my issues table to the dates table. One of those is disabled, as you can see in the following image.

 

image.png

 

I have then created two measures that count the number of issues opened and closed.

 

#Issues Opened = COUNTROWS(Issue)
#Issues Closed = CALCULATE(COUNTROWS(Issue),Issue[Issue is closed] = TRUE(), USERELATIONSHIP(Issue[Closed at],DateTable[Date]))
 
I then created a simple line chart with the measures above, all works great
 
image.png
 
All numbers seem to make sense. I've crossed checked with JIRA itself.
 
Now for the weird part... I publish my report to PowerBI and for a while, I can see both lines, but after a while, the ones with the closed issues is gone 😐
 
 
image.png
 
I have zero clues about what is going on here. Can someone help?
 
Thanks
 
1 ACCEPTED SOLUTION
v-xicai
Community Support
Community Support

Hi @PedroCardoso ,

 

It seems like the online version of Power BI is treating/displaying Boolean values differently to the desktop client. Desktop client shows Booleans as FALSE and TRUE but online it's displaying them as 0 and 1. It is an issue having submit currently ,please vote the issue link https://community.powerbi.com/t5/Issues/Visualization-BLANK-after-refreshing-page-in-Power-BI-servic..., to improve the Power BI.

 

We also submitted this feedback to the product group internally, so that the product group can pay attention to this problem and speed up the issue repairing.

 

To work around this issue, you can switch it to 'text' data type, or replace TRUE with 1 and replace FALSE with 0 when using Boolean values.

 

Best Regards,

Amy

 

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-xicai
Community Support
Community Support

Hi @PedroCardoso ,

 

It seems like the online version of Power BI is treating/displaying Boolean values differently to the desktop client. Desktop client shows Booleans as FALSE and TRUE but online it's displaying them as 0 and 1. It is an issue having submit currently ,please vote the issue link https://community.powerbi.com/t5/Issues/Visualization-BLANK-after-refreshing-page-in-Power-BI-servic..., to improve the Power BI.

 

We also submitted this feedback to the product group internally, so that the product group can pay attention to this problem and speed up the issue repairing.

 

To work around this issue, you can switch it to 'text' data type, or replace TRUE with 1 and replace FALSE with 0 when using Boolean values.

 

Best Regards,

Amy

 

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

 

Thank you! I spent a lot of time trying to figure this out. Already voted in the idea.

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.