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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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