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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Table visualization - Q&A

Hi all,

I have this table below:

Chen1821_0-1627306808212.png

I performed conditional formatting with number to highlight the status level (by converting the string into an intger fit to every status).

I would like to know if there is a way to give additional conditional formmating  for the sections before the current status level & add spaces between every row- it's should looks like this:

Chen1821_1-1627307025453.png

 

 

Thanks in advanced!

 

BR.



4 REPLIES 4
Jihwan_Kim
Super User
Super User

Picture2.png

 

Status measure : =
IF (
HASONEVALUE ( Tasks[Task] ) && HASONEVALUE ( 'Status'[Status] ),
COALESCE ( SELECTEDVALUE ( Data[Status] ), "" )
)
 
 
Status flag : =
VAR _indexnumber =
CALCULATE ( MAXX ( Data, RELATED ( 'Status'[Index] ) ), ALL ( 'Status' ) )
VAR _selectedindexnumber =
SELECTEDVALUE ( 'Status'[Index] )
RETURN
SWITCH (
TRUE (),
_selectedindexnumber < _indexnumber, 1,
_selectedindexnumber = _indexnumber, 9,
BLANK ()
)
 
 
 
 

If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.
Anonymous
Not applicable

Hi,

I see that you divided the data model into 3 table - however I want to perform that by only 1 table - can I do it?

Thanks a lot!

I failed to make those into one table.

If you have one table for the above, please provide it. Then, I can try to use that one table to create the same result.

Thanks.


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.
Anonymous
Not applicable

Hi,

Thanks for the quick replay, please find the attached PBI pictures (I can't share the file):

Chen1821_0-1627387421680.pngChen1821_1-1627387436384.png

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.