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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.