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
Krunoslav123
Regular Visitor

Inner Join

I have simple problem with inner join in Power BI Desktop . My problem is realted to this problem http://stackoverflow.com/questions/20790681/split-range-of-dates-into-individual-records-keeping-ids

I successfully managed to solve the problem with a SQL query but a major problem is that performance of this query is executed very slowly. Now i'm trying to find a solution within the power bi desktop but unsuccessfully. 

 

Here is my sample data 

DateTimeFromDateTimeToNameValue
3.1.2016 22:004.1.2016 1:0010,33
4.1.2016 2:004.1.2016 3:0010,44
3.1.2016 23:004.1.2016 2:0021,22

 

and here is Expected results

 

 

NameDateTimeValue
13.1.2016 22:000,33
13.1.2016 23:000,33
14.1.2016 0:000,33
14.1.2016 1:000,33
14.1.2016 2:000,44
14.1.2016 3:000,44
23.1.2016 23:001,22
24.1.2016 0:001,22
24.1.2016 1:001,22
24.1.2016 2:001,22

 

I also have DimDateTime with generated all values .

1 ACCEPTED SOLUTION
Krunoslav123
Regular Visitor

OK i think that i found sollution : 

 

Crate table : 

 

Inner_Join = FILTER (
CROSSJOIN ( 'DimDateTime'; sample data  );
'DimDateTime'[DateTime]>='sample data'[DatumOdMRound] && 'DimDateTime'[DateTime] < 'sample data'[DatumDoMRound]
)

View solution in original post

1 REPLY 1
Krunoslav123
Regular Visitor

OK i think that i found sollution : 

 

Crate table : 

 

Inner_Join = FILTER (
CROSSJOIN ( 'DimDateTime'; sample data  );
'DimDateTime'[DateTime]>='sample data'[DatumOdMRound] && 'DimDateTime'[DateTime] < 'sample data'[DatumDoMRound]
)

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.