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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
JamesBurke
Helper III
Helper III

Rank x

Hi , 

 

Solved: Count Top 1 Rank per day - Microsoft Fabric Community

 

I'm intrested in doing something similar to this but for Months however my datasets are split into tables and do not have the "Sum of Points" as well as Team in one. 

 

I have multiple tables one being with Devices , one with device usages and one with the date. 

 

Screenshot 2024-05-16 165239.pngScreenshot 2024-05-16 165249.pngScreenshot 2024-05-16 165302.png

 

The device tables are connected with Dim device ID and The Date with Dim date id , i'm wondering if it's still possible to potentially create another table with the Month , Device and usages all in one table so i can create a rank conditonal column and then count how many times that store was rank one. 

 

Thanks , James. 

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @JamesBurke 

 

If you want to create another table with data from these 3 tables, CROSSJOIN could be a good choice.

Here I create a set of sample for your reference:

vzhengdxumsft_0-1715910100624.pngvzhengdxumsft_1-1715910107029.png

vzhengdxumsft_2-1715910116980.png

Then add a table:

Table = 
	FILTER(
		CROSSJOIN(
			SELECTCOLUMNS(
				'Device',
				'Device'[Values2],
				"DeviceID", 'Device'[ Dim device ID],
				"DateID", 'Device'[Dim date id]
			),
			'DeviceUsage',
			'Date'
		),
		[DeviceID] = 'DeviceUsage'[ Dim device ID] && [DateID] = 'Date'[Dim date id]
	)

The result is as follow:

vzhengdxumsft_3-1715910186124.png

 

Best Regards

Zhengdong Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @JamesBurke 

 

If you want to create another table with data from these 3 tables, CROSSJOIN could be a good choice.

Here I create a set of sample for your reference:

vzhengdxumsft_0-1715910100624.pngvzhengdxumsft_1-1715910107029.png

vzhengdxumsft_2-1715910116980.png

Then add a table:

Table = 
	FILTER(
		CROSSJOIN(
			SELECTCOLUMNS(
				'Device',
				'Device'[Values2],
				"DeviceID", 'Device'[ Dim device ID],
				"DateID", 'Device'[Dim date id]
			),
			'DeviceUsage',
			'Date'
		),
		[DeviceID] = 'DeviceUsage'[ Dim device ID] && [DateID] = 'Date'[Dim date id]
	)

The result is as follow:

vzhengdxumsft_3-1715910186124.png

 

Best Regards

Zhengdong Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.