Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
luizmvaz
Frequent Visitor

Extrair Texto de uma tabela dimensão em forma de medida DAX

Olá, 

Preciso extrair como uma medida dax a classificação da loja de acordo com o contexto de filtro.

 

Possuo uma tabela de dimensão que tem as classificações das lojas e em diversas outras tabelas fato com volume de vendas, devoluções entre outras.

 

preciso que se a loja for diamante o volume de vendas seja multiplicado conforme o peso.

Ex: Loja LP1 é diamante e portanto é 500 vendas * 100% = 500.

luizmvaz_0-1699391655448.png

as tabelas estão relacionadas pelo código, porém não consigo extrair a classificação da loja para fazer o IF/Switch.

1 ACCEPTED SOLUTION
Ahmedx
Super User
Super User

Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.

 

View solution in original post

1 REPLY 1
Ahmedx
Super User
Super User

Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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