Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello !
Here is my problem :
My source in Powerpivot named DATA
MODELE | QTE |
LA DEFENSE PEUGEOT 208 | 12 |
REPUBLIQUE PEUGEOT 5008 | 18 |
BASTILLE PEUGEOT 308 | 16 |
GARE DE L'EST PEUGEOT 508 | 1 |
LA DEFENSE RENAULT SCENIC | 10 |
REPUBLIQUE RENAULT CLIO | 4 |
BASTILLE RENAULT KANGOO | 8 |
GARE DE L'EST RENAULT TWINGO | 13 |
I want to have these result :
MARQUE | NOMBRE |
PEUGEOT | 47 |
RENAULT | 35 |
I tried with a Powerpivot Inversed Table by creating these table named Marque in Powerpivot
MARQUE |
PEUGEOT |
RENAULT |
And trie the Dax Function who doesn't work :
Evaluate(
AddColumns(
Marque,
"Nombre",Calculate(sum(Data[QTE]),Find([MARQUE],DATA[MODELE],,0))
)
)
Is there another way to have my result or what is the Dax formula to have it
Thank you for your help.
Solved! Go to Solution.
Create a new table called models that has the modele column and a new column called brand. The modele column must be unique values. Join this new table to the data table using the common modele column
create a table visual using the brand column from the models table then drag the qte column from the data table.
Create a new table called models that has the modele column and a new column called brand. The modele column must be unique values. Join this new table to the data table using the common modele column
create a table visual using the brand column from the models table then drag the qte column from the data table.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
97 | |
86 | |
70 | |
62 |
User | Count |
---|---|
151 | |
120 | |
103 | |
87 | |
68 |