cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper V
Helper V

caluclated column

Hi all,

 

 @MFelix  @Mariusz  @jzaib 

i have column  frequency   with values likes below

 

Frequency

WD1

WD2

WD3

WD4

WD5

WD6

WD7

Daily

Daily

Anytime

Anytime

 

from this i want  to create a new column like  NewTime

if values like below

    all WD 1,2,3,4,56,7  as Monthly 

Daily  as daily

Anytime  as  Random    

 

so my new column values will be  

 

NewTime

Monthly

Daily

Random

 

can anyone help how to create this . Am new to PBI.

 

Best

Chanty

2 ACCEPTED SOLUTIONS

Accepted Solutions
Highlighted
Super User IV
Super User IV

Re: caluclated column

Perhaps:

 

 

Column =
  SWITCH([Frequency],
    "Daily","Daily",
    "Anytime","Random",
    "Monthly"
  )

@Chanty4u 

 


---------------------------------------

Putting square pegs in round holes since 1972.

I have a NEW book! 
DAX Cookbook from Packt
Over 120 DAX Recipes!




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

Highlighted
Community Champion
Community Champion

Re: caluclated column

Hi @Chanty4u ,

 

Capture.PNG


Did I answer your question? Mark my post as a solution!
Ricardo

View solution in original post

2 REPLIES 2
Highlighted
Super User IV
Super User IV

Re: caluclated column

Perhaps:

 

 

Column =
  SWITCH([Frequency],
    "Daily","Daily",
    "Anytime","Random",
    "Monthly"
  )

@Chanty4u 

 


---------------------------------------

Putting square pegs in round holes since 1972.

I have a NEW book! 
DAX Cookbook from Packt
Over 120 DAX Recipes!




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

Highlighted
Community Champion
Community Champion

Re: caluclated column

Hi @Chanty4u ,

 

Capture.PNG


Did I answer your question? Mark my post as a solution!
Ricardo

View solution in original post

Helpful resources

Announcements
Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Using the Community

Using the Community

Need help with the Power BI Community? Our 'Using the Community' support articles are a great place to start.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Power Platform 2020 release wave 2 plan

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors