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
rohtashgoyal
New Member

display one dimension based on other dimension in table visual

My data is like that in table(visual) 

Representative, country, agent_type, sale

for each row, I need to display country for agent_type="supervisor"

all dimension have their own dimension table, joined with fact table using 1 to many relationship.

I want to do it by creating dax measure, not calculated column.

Thanks

 

3 REPLIES 3
rohtashgoyal
New Member

Hi @amitchandak, I don't need sale value here, I need to create measure to update Representative name, I want to show representative name from country India, in other rows as well, where country is not India.

Thanks

Hi @rohtashgoyal ,

 

Could you create a specific example? 

 

Reference: How to provide sample data in the Power BI Forum - Microsoft Power BI Community

 

 

Best Regards,

Icey

amitchandak
Super User
Super User

@rohtashgoyal , Either slicer should filter or measure can use filter

example

calculate(sum(Sales[sales]), filter(Country, country[agent_type]="supervisor" ) )

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.