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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
johhnybest
Frequent Visitor

Users clicked only channel A, Channel B & Both

Hi All, I'm fairly new to this tool & I have this data coming from single table where i need to show user clicked only channel A, only channel B & Both (suppose if user clicked on both channels, we should show them under "Both")

 

-Channel A is a combination of [mobile, tablet] clicks (which is coming from "device" column) 

-Channel B would be clicks from Browser(derived from "device" column)

 

Expected result: 

ChannelTypeUserCount
Channel A (mobile, tablet)xx
Channel B (Browser)xx
Bothxx

 

Thank you in advance! 🙂

4 REPLIES 4
johhnybest
Frequent Visitor

Thank you @v-zhengdxu-msft  for the response. I tried but it gives me same count for all users.

For better understanding, Please see below on what is expected.

johhnybest_1-1707319837164.png

 

 

 

 

thank you!

@amitchandak could you please help here that would be greatly appreciated. 

v-zhengdxu-msft
Community Support
Community Support

Hi @johhnybest 

 

Please try this:

First of all, I create a set of sample:

vzhengdxumsft_0-1707269353055.png

Then create a measure:

both = 
	VAR _Countall = COUNTROWS(ALL('Table'))
	RETURN
		IF(
			COUNTROWS(ALLSELECTED('Table')) = _Countall,
			COUNTROWS(ALLSELECTED('Table'))
		)

Add a slicer and a matrix:

vzhengdxumsft_1-1707269479480.pngvzhengdxumsft_2-1707269488201.png

Open the select all in the format of Slicer:

vzhengdxumsft_5-1707269744309.png

 

The result is as follow:

vzhengdxumsft_6-1707269800876.pngvzhengdxumsft_7-1707269808780.pngvzhengdxumsft_8-1707269815178.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.

 

Any help here please that would be greatly appreciated

 

 

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.