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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Daniel_Enum
Regular Visitor

Measures dont drill down correctly

Hi guys, 
I'm experiencing a weird problem with my graphs. 
I have 2 tables,:
table 1 contains my orders so there is alot of rows with columns of prodcut id, timestamp (date and time) quantity and profit (not shown here).

Daniel_Enum_0-1660734664431.png
table 2 contains columns of product id, date and total volume in market in this day.

Daniel_Enum_1-1660734716271.png


I want to calculate the sum of my orders /total volume per day and per stock id.

Daniel_Enum_3-1660734855504.png

 

The measure works well only if I use date from table 2 as the date but if I use a dual graph and for example insert profit and orders/volume then the graph breaks.
If I use the timestamp from table 1 then the measure doesn't filters down and showing only 1 value (sum of all)
If I use the date from table 2 then the measure works fine but the profit doesn't filter and stuck on 1 value (sum of all)

what do i need to do make it work? 
I guess something is wrong with how pbi understands the date/time but have no idea how to fix it.



1 ACCEPTED SOLUTION
Ale
Resolver II
Resolver II

You have to create a Date table to work as date dimension and then create the relationship between the Date dimensions and your 2 tables. After that, you use the Date from the Date table and the visual will work.

 

Here you can find how to create this Date table: https://community.powerbi.com/t5/Desktop/Creating-Date-Tables/td-p/553980

View solution in original post

1 REPLY 1
Ale
Resolver II
Resolver II

You have to create a Date table to work as date dimension and then create the relationship between the Date dimensions and your 2 tables. After that, you use the Date from the Date table and the visual will work.

 

Here you can find how to create this Date table: https://community.powerbi.com/t5/Desktop/Creating-Date-Tables/td-p/553980

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!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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