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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
DJ_Jamba
New Member

Matrix style fiscal year grid

Hello Community!
My left eyebrow is flickering a lot over this 😂

 

I know there must be several ways to achieve this but I'm looking for the most optimal way 😁

I have:

 - A calendar table

 - A progress reporting table (SharePoint List)

 - A project reporting table (SharePoint List)


Relationships:

DJ_Jamba_0-1709750491542.png

 

In the projects table there is only a Due By date column and a Period (text type e.g. 2023-2024). No other date field.
Both progress and project tables have a "RAG Status" column.

In the first 3 months of the year (fiscal) there's hardly any progress reported for months April - June for any of the projects. However, I still want to be able to show that there's no progress using a grey block in e.g. a grid/matrix. If there is progress for any of the months then I just want to colour a block according to what the RAG status is (Red, Amber or Green).

So, pretend we are looking at this in June, a grey block means no progress was submitted for that month and the coloured blocks have been pulled from the RAG Status column, how would I achieve the below?

 

DJ_Jamba_1-1709751707636.png

 

1 ACCEPTED SOLUTION
v-junyant-msft
Community Support
Community Support

Hi @DJ_Jamba ,

Have you solved your problem?
If not, you can try this way, here is my sample data ( Note: Power BI can't identify Amber, so I changed it into Blue 😞

vjunyantmsft_0-1710833449231.png

You can use this DAX to create a measure:

Measure = 
IF(
    MAX('Progress Reporting'[RAG Status])="",
    "grey",
    MAX('Progress Reporting'[RAG Status])
)

Follow the diagram below to set up:

vjunyantmsft_1-1710833584580.png

vjunyantmsft_2-1710833610189.png

vjunyantmsft_3-1710833618186.png

The final output is as below:

vjunyantmsft_4-1710833646233.png


Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
v-junyant-msft
Community Support
Community Support

Hi @DJ_Jamba ,

Have you solved your problem?
If not, you can try this way, here is my sample data ( Note: Power BI can't identify Amber, so I changed it into Blue 😞

vjunyantmsft_0-1710833449231.png

You can use this DAX to create a measure:

Measure = 
IF(
    MAX('Progress Reporting'[RAG Status])="",
    "grey",
    MAX('Progress Reporting'[RAG Status])
)

Follow the diagram below to set up:

vjunyantmsft_1-1710833584580.png

vjunyantmsft_2-1710833610189.png

vjunyantmsft_3-1710833618186.png

The final output is as below:

vjunyantmsft_4-1710833646233.png


Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Works well. Thanks very much for your help!

Hi Dino

Thanks for the suggestion.
I'm away on business but will give it a try towards the end of the week

lbendlin
Super User
Super User

COALESCE should be able to help you. But in general to report on things that are not there you need to use disconnected tables and cross joins.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.

Top Solution Authors
Top Kudoed Authors