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
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.


Go to My LinkedIn Page


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.


Go to My LinkedIn Page


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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.