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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
SadStatue
Helper II
Helper II

Line chart Broken after publishing

Hi All,

 

I have a line chart shows the required staff which coinsist of two measures (one shows the past days and the other shows the future)

the chart works correctly in the PowerBI Desktop as below

SadStatue_0-1595374667376.png

when I publish the report still the chart is correct but as fast as I refresh the data in the web service the chart broken and dates corrupted as below!

SadStatue_1-1595375454429.png

measures are claculated as below:

CALCULATE(SUM('Refined - all'[Total Staff]),FILTER('Refined - all','Refined - all'[Status]="Past"))
CALCULATE(SUM('Refined - all'[Total Staff]),FILTER('Refined - all','Refined - all'[Status]="Forward"))
 
and "Refind - all" table structure is as below:
 
 
StatusDatesTotal Staff
ForwardFriday, 24 July 20201
ForwardFriday, 24 July 20201
ForwardFriday, 24 July 20201
ForwardFriday, 24 July 20201
ForwardThursday, 23 July 20201
ForwardThursday, 23 July 20202
ForwardThursday, 23 July 20201
ForwardThursday, 23 July 20201
ForwardThursday, 23 July 20202
ForwardThursday, 23 July 20202
ForwardThursday, 23 July 20201
ForwardThursday, 23 July 20202
ForwardThursday, 23 July 20201
ForwardThursday, 23 July 20201
PastFriday, 17 July 20201
PastFriday, 17 July 20201
PastFriday, 17 July 20201
PastFriday, 17 July 20201
PastFriday, 17 July 20201
PastFriday, 17 July 20201
PastFriday, 17 July 20201
PastFriday, 17 July 20201
PastFriday, 17 July 20201
PastFriday, 17 July 20201
PastThursday, 16 July 20202
PastThursday, 16 July 20203
PastThursday, 16 July 20203
PastThursday, 16 July 20202
PastThursday, 16 July 20202
 

I would be glad if anyone can help why the chart changes after publishing

6 REPLIES 6
v-lionel-msft
Community Support
Community Support

Hi @SadStatue ,

 

 

Check the data in your dataset. Maybe your visual is correct, but the refreshed data does not meet your expectations.

 

Best regards,
Lionel Chen

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

Hi @v-lionel-msft 

 

Thats my problem Im quiet sure my visual is correct and when I refresh it trough the Desktop app it works perfectly, but after publishing and refreshing in the web the chart will breaks

Hi @SadStatue ,

 

Has your problem been solved?

Does the latest data from the data source make this problem after you refresh?

 

Best regards,
Lionel Chen

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

Yes it is solved after I re-structured my data model and measures.

But I don't know what was the main problem

amitchandak
Super User
Super User

@SadStatue , Have tried clear cache and refresh?

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi Amit

Yes I cleared the cash and tried different browsers but still have the problem

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

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