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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Constant Line loses its format

Hi,

I'm using a constant line that is dynamically calculated to represent the average state performance across all entities. As per the screenshot below, the measure uses a custom format to display duration in Days/Hours format and all works well until one of the quadrants doesn't have an entity to display in it and then the constant line displays but without its custom format.

SteveD_0-1651467587699.pngSteveD_1-1651467603860.png

 

Any ideas on why it loses its format? Also, given there's no entity to report on based upon the selection why is the constant line displaying? If I convert the 4 visuals to a single visual with the region as a small multiple, the constant line behaves that way.

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Thanks for your help on this. I eventually opted for displaying the constant line when the Countrows(HubTable) > 0.  

View solution in original post

7 REPLIES 7
vanessafvg
Super User
Super User

Can I ask what it is you are expecting it to do when there is no data?  to be blank?  A little unsure of what you are asking can you explain what you expect to happen in the problematic quadrant.





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Anonymous
Not applicable

My preference would be for it to be blank as this is the behaviour when using small multiples.

can you not filter the blank  section out? its actually really hard to answer this question with the limited information you have given, i do not know how your data is modelled, i also do not know what your objective with the data is.   If you need a more detailed response you will need to give more information like

what your data looks like the sample data ie the model and a sample to understand why it is being displayed if no data is showing

what requirement you are trying to solve

assuming you are using the y axis constant line?





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Anonymous
Not applicable

Here is a link to a sample model that replicates the bug.

Hi, @Anonymous 

Please add another table as below:

DivisionName = DISTINCT('Hub Table'[DivisionName])

1.png

2.png

Then use the field 'DivisionName' in this new table to replace your previous field to filter the data in your visuals.

Result:

3.png

 

Best Regards,
Community Support Team _ Eason

 

Anonymous
Not applicable

Thanks for your help on this. I eventually opted for displaying the constant line when the Countrows(HubTable) > 0.  

I have played around with your data a bit but I don't think it is possible to remove a constant line - it's affectively hard coding it.  so even when there isn't data the constant line isn't intelligent enough to not show as far as i can tell.





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors