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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
bezawak
Frequent Visitor

Power BI Matrix Viz Dispay help

Hello Every One .

 

Good Morning I have an issue on how the below format can be acheived in Power BI Matrix viz or another type of viz that could help me resolve the issue ,Below is the layout and any help is much appreciated 

Indicator is the difference of between the Schedulde & Actual Dates

 

Country on rows

Approval Type 1 & 2 in the columns

schedule date & actual date on the values section

 

Indicator calcualted column -which is diff of dates which will be in values section

 

 

 
Country NameOverall StatusApproval Type 1Approval Type 2 
 Completed|StatusScheduleDate|Actual Date|IndicatorScheduleDate|Actual Date|Indicator 
Name 21 or  0 if schedule date is null| status is max value of difference of the indicator columndate1|date2|diff of datesdate1|date2|diff of dates 
 
4 REPLIES 4
v-gizhi-msft
Community Support
Community Support

Hi,

 

I am confused about your requirement, and I try to create a sample pbix file:

pbix 

Hope this helps.

 

Best Regards,

Giotto ZHi

Hello Thanks for you file

 

below is the format

if  schedule date is not null and if we have a value for difference then the over all status should be the max of the difference values  (Example :max of two like value should be 63,70 ) and overall status should be one column beside country

 
 

Hi,

 

Please try to create this calculated column:

Overall Status = IF('Table'[ScheduleDate]<>BLANK(),CALCULATE(MAX('Table'[Datediff by day]),ALLEXCEPT('Table','Table'[Country Name])))

And it shows:

132.PNG

Here is my new test pbix file:(I have made a bit changes to original data)

pbix 

 

Best Regards,

Giotto Zhi

Hello 

 

 For me approvals are coming dimension approval 

country name from country dimension

actual schedule dates from fact 

 

i have written like this if(scheduledate<>blank()),calculate(max(diffofdates),allexcept(country,countryname)) it throws me an error

and also overallstatus should not get repeated in the layout  

 

Thanks

Kalyana

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.