Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Bonjour,
Voilà j'ai un dataset constitué de données de visites renseignées par semaine, du coup j'ai une colonne semaine contenant sur chaque ligne Semaine(x) avec x le numéro de semaine, soit semaine 1, semaine 10, semaine 3 etc...
En réalité c'est pas du tout ordonnées, je voudrais donc faire un histigramme du nombre de visite en des semaines, mais dans le rendu les semaines ne se suivent pas.
je mets en pj la photo, je voudrais donc savoir comment faire pour réodonner, sur excel il suffit de déplcer mais je ne sais pas du tout comment faire sur power bi.
Merci d'avance pour votre aide.
Solved! Go to Solution.
(Apologies, I'm reverting to english for this explanation!)
Select "Modeling" in the ribbon -> new table and create a new dimension table for Semaine using:
Dim Semaine =
ADDCOLUMNS(
DISTINCT('Table'[Semaine ]),
"Ordre", INT(RIGHT([Semaine ], 2)))
Order the "ordre" field in ascending order. Select the dSemaine field and select "Sort column by" in the ribbon and select "Ordre":
Create a one-to-many single direction relationship between the corresponding fields from th dimension table to the fact table in the modeling view:
Now set up the visual using the dSemaine field from the dimension table and add the measure to get:
Proud to be a Super User!
Paul on Linkedin.
Il faut "clicker" sur les points de suspensions et choisir "Trier par" -> "Semaines"
Proud to be a Super User!
Paul on Linkedin.
Merci pour ton retour mais le filtre proposé par les points de suspensions le font juste par odre croissant ou décroissant vu que chaque semaine a sa cardinalité , ça permet pas d'organiser la liste de mes semaines normalement,
(Apologies, I'm reverting to english for this explanation!)
Select "Modeling" in the ribbon -> new table and create a new dimension table for Semaine using:
Dim Semaine =
ADDCOLUMNS(
DISTINCT('Table'[Semaine ]),
"Ordre", INT(RIGHT([Semaine ], 2)))
Order the "ordre" field in ascending order. Select the dSemaine field and select "Sort column by" in the ribbon and select "Ordre":
Create a one-to-many single direction relationship between the corresponding fields from th dimension table to the fact table in the modeling view:
Now set up the visual using the dSemaine field from the dimension table and add the measure to get:
Proud to be a Super User!
Paul on Linkedin.
User | Count |
---|---|
98 | |
90 | |
82 | |
73 | |
67 |
User | Count |
---|---|
115 | |
102 | |
98 | |
71 | |
66 |