Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi @Anonymous
Hope attached file satisfies your requirement
Insurance =
SUMX (
FILTER (
'Table',
'Table'[Nationality ] = "Non-Italy"
),
IF (
'Table'[Years] < 3,
'Table'[Salary] / 24,
'Table'[Salary] / 12
)
)
hello @Anonymous ,
please try:
Measure =
VAR selected = SELECTEDVALUE(Table1[Nationality ])
return
IF( selected <> "Italy" && MAX(Table1[Years]) < 3,SUM(Table1[Salary])/24,IF(selected <> "Italy",SUM(Table1[Salary])/12,0))
User | Count |
---|---|
16 | |
14 | |
13 | |
12 | |
11 |
User | Count |
---|---|
19 | |
15 | |
15 | |
11 | |
10 |