Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Good afternoon
I have two measures, the first is a
HI @viviana_obando,
AFAIK, current power bi does not allow you to use multiple values and legend fields at the same time.
In my opinion, I'd like to suggest you create a new table with two category names as your measure formula names.
You can use it on the axis of your chart, add the column which you mentioned to the legend field.
After these steps, you can write a measure formula with a switch function to calculate based on the current axis and legend category to summary records and show value.
DAX – Making the “Case” for SWITCH()
If these not help, you can share some dummy data with raw data structure and expected result to help us clarify your requirement and test coding formula.
How to Get Your Question Answered Quickly
Regards,
Xiaoxin Sheng
Thank you very much, I'm going to improve the question.
Thankio to everyone, I´m going yto impruve my doubts.
I'm not all too sure what you are trying to achieve. Please read this thread to help us help you:
How to get your question answered quickly
Proud to be a Super User!
Paul on Linkedin.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
86 | |
80 | |
53 | |
39 | |
39 |
User | Count |
---|---|
104 | |
85 | |
47 | |
44 | |
43 |