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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
selected_
Helper IV
Helper IV

Controlling the width of lines via a measure

Is that possible to make a measure for a line to be thicker if the value is above 2000 ?

 

I gonna use the measure for Icon Map. 

5 REPLIES 5
v-jingzhang
Community Support
Community Support

Hi @selected_ 

Does my reply solve your problem? If yes, kindly accept it as the solution. Otherwise, please provide more details about your problem so that we can work on it further. Thanks.

 

Regards,
Jing

v-jingzhang
Community Support
Community Support

Hi @selected_ 

 

I have never used Icon Map before. Do you mean controling width of the following type of lines?061701.jpg

It seems possible to set the width conditionally. You could refer to Icon Map (icon-map.com) for introductions.

061702.jpg

If your value is from a column, you could add a new column to the table with codes like below (10 and 5 are line widths).

Line Width Column= IF ( 'Table'[value] > 2000, 10, 5 )

 

Or a measure

Line Width Measure = IF ( MAX ( 'table'[Value] ) > 2000, 10, 5 )

 

Put it in the LineWidth field of this visual.

 

Regards,
Community Support Team _ Jing
If this post helps, please Accept it as the solution to help other members find it.

selected_
Helper IV
Helper IV

@amitchandak Like always, replay with oneliners in every thread, and when OP replay you then you disappear. 

amitchandak
Super User
Super User

@selected_ , we can usually control the color(font and background)  in conditional formatting. I doubt you can change the width

So the line width can't be changed in comperation to a value? How is with the circle size? how can make a measure to change the circle size ?

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.