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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
RMSLUIS
Frequent Visitor

Targeting Users by Frequency

Hello,

 

I'm a new user in Power BI and I need help to solve the chalenge bellow. Following 3 Target definitions, I want classify the users.....

Someone can help me ?

 

Thanks in advance.

Rui Luís

RMSLUIS_0-1617314953156.png

 

3 REPLIES 3
daxer-almighty
Solution Sage
Solution Sage

@RMSLUIS 

 

If you want to have a column with User Type, just model your data to facilitate this. Add a column with the number you need (transforming the Sale ID column) in order to create User Type. It's very easy and best done in Power Query, not DAX. Data in columns should always be atomic, which means it should be indivisible from the point of view of the problem you model. Thus, you should add a new column derived from Sale ID so that it's easy to create User Type based on it.

Hi,

 

Something like this:

Create the Measure: Number Sale ID = DISTINCTCOUNT(Sale ID)

And then the 2nd Measure: 

Target = SWITCH([Number Sale ID],"Medium",2,"Medium",1,"Low","High")
 
Tks
Rui

Already got this.....But still with some problems to create "Target"

RMSLUIS_0-1617359561859.png

 

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

Top Solution Authors