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
Anonymous
Not applicable

Matrix does not display data without relationship

I have a matrix being used to show timesheeting data. For a specific view, I need to use a table that can't have a relationship to my date table. As a workaround, I am trying to use a measure that assigns 1 to rows within the selected date range, then filtering the matrix on 1. The problem I'm having is the Matrix doesn't show any data for certain time periods (no  idea why), but when I 'Export Data' to get a CSV, the data is identical to the working matrix if I slice by the table's own date field. 

I can't for the life of me figuring out why the Matrix visual isn't showing data that can be extracted by the visual. When using another after market matrix, it displays the data as expected, but there are drawbacks with its use. 

 

The matrix structure:

Rows: 

TaskName

ResourceName

 

Columns: 

Date Range

  year

  quarter

  month

  day

 

Values:

Work

ActualWork

 

The measure filtering the table:

measure =
VAR mindate = MIN(Date[Date Range])
VAR maxdate = MAX(Date[Date Range])

RETURN
IF ( MIN(Table1[Date Range]) >= mindate &&
MAX(Table1[Date Range]) <= maxdate,
1,0
)

 

Time slicer

Date[Date Range]

 

1 REPLY 1
v-shex-msft
Community Support
Community Support

Hi @Anonymous,

Can please share some dummy data with a similar data structure and expected results? It should help us clarify your scenario and test to coding formula.

How to Get Your Question Answered Quickly  

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

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!

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.