cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
CassioDias
Regular Visitor

how to create a column with the username () function

 

I want to create a create a column using the following function: ID_market = if ([ID_email] = username(); "MyCompany";"Market")

 

I want every user to see its market share. After creating the column above would create a measure of "market share"using the function "calculate".

 

But I can not create the column "ID_market"

 

how do i do that?!?! 

0 REPLIES 0

Helpful resources

Announcements
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

Thank you 2022 Review

2022 Monthly Feature Releases

We had a great 2022 with a ton of feature releases to help you drive a data culture.