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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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?

Hi Amit

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

Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

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