Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Solved! Go to Solution.
Hi @ruthgammack
Try this:
Buffer Kms =
IF (
'Co-ordinate'[Kms] = 0,
20,
SWITCH (
TRUE (),
( 'Co-ordinate'[Mode] = "Air" ),
'Co-ordinate'[Kms] / 100 * 22,
( 'Co-ordinate'[Mode] = "Sea" ),
'Co-ordinate'[Kms] / 100 * 24,
( 'Co-ordinate'[Mode] = "Roa" ),
'Co-ordinate'[Kms] / 100 * 18,
( 'Co-ordinate'[Mode] = "Rai" ),
'Co-ordinate'[Kms] / 100 * 9,
( 'Co-ordinate'[Mode] = "Cou" ),
'Co-ordinate'[Kms] / 100 * 22
)
)
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos✌️!!
I have refering url column under which urls listed like below
google.com
facebook.com
instagram.com
linkedin.com
i want ad need column which lists respective urls
how can i do
Hi @ruthgammack
Try this:
Buffer Kms =
IF (
'Co-ordinate'[Kms] = 0,
20,
SWITCH (
TRUE (),
( 'Co-ordinate'[Mode] = "Air" ),
'Co-ordinate'[Kms] / 100 * 22,
( 'Co-ordinate'[Mode] = "Sea" ),
'Co-ordinate'[Kms] / 100 * 24,
( 'Co-ordinate'[Mode] = "Roa" ),
'Co-ordinate'[Kms] / 100 * 18,
( 'Co-ordinate'[Mode] = "Rai" ),
'Co-ordinate'[Kms] / 100 * 9,
( 'Co-ordinate'[Mode] = "Cou" ),
'Co-ordinate'[Kms] / 100 * 22
)
)
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos✌️!!
unfortunately it doesnt work. ill keep trying
The last condition must be the first. It really does matter what you put where in switch.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
47 | |
24 | |
20 | |
15 | |
12 |
User | Count |
---|---|
55 | |
48 | |
43 | |
19 | |
19 |