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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
JLopes93
New Member

Can't visualize correct values with data table. Need Help.

Hi Friends,

 

Im new at Power Bi, so i apologize for any inconvenience.

I created a data table and the relations between the tables, but when i try to see it, it jsut gives me the total.

Data =
VAR Days = CALENDAR ( DATE ( 2016, 1, 1 ), DATE ( 2018, 12, 31 ) )
RETURN ADDCOLUMNS (
    Days,
    "Year", YEAR ( [Date] ),
    "Month Number", MONTH ( [Date] ),
    "Month", FORMAT ( [Date], "mmmm" ),
    "Year Month Number", YEAR ( [Date] ) * 12 + MONTH ( [Date] ) - 1,
    "Year Month", FORMAT ( [Date], "mmyyyy" ),
    "Week Number", WEEKNUM ( [Date] )
)
 
JLopes93_0-1661787242345.png

 

On the left side i have the one without the data table, and it shows me correct, and on the other side it just gives me the total.

1 REPLY 1
HotChilli
Community Champion
Community Champion

The relationship is not working.  Check that the data types of the two fields are the same.  Check the filter direction.

Easiest way to test is to add the date field from calendar table and date field from Fact table in a visual.  The columns should match

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.