The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hi everyone,
Currently I have all my data in 2 columns - qty & resource_type.
resource_type falls into 3 categories - supply, net requirements and project balance.
Is there an easy way for me to split the supply and net req to column y-axis while the project balance goes to the line y-axis?
There are 1mil+ rows so the solution would need to be decently efficient.
Not sure where to start on this so any help would be appreciated! I tried to merge a duplicate table containing only project bal. qtys onto the original table so there would be a seperate column to drag into the line y-axis data field, but the query was taking far too long.
Solved! Go to Solution.
Hi @powerjey,
Did you mean to add custom legends on the chart to show the analysis results? If that is the case, you can create a new table with the original table category and new analysis category types.
Then you can use this field on the chart legends field, and writer a measure formula to lookup raw table value based on the current axis and legends category. For the new custom field types, you can write the custom formula to replace their calculation.
Solved: Re: DAX SWITCH + SELECTEDVALUE() - Microsoft Power BI Community
Regards,
Xiaoxin Sheng
Hi @powerjey,
Did you mean to add custom legends on the chart to show the analysis results? If that is the case, you can create a new table with the original table category and new analysis category types.
Then you can use this field on the chart legends field, and writer a measure formula to lookup raw table value based on the current axis and legends category. For the new custom field types, you can write the custom formula to replace their calculation.
Solved: Re: DAX SWITCH + SELECTEDVALUE() - Microsoft Power BI Community
Regards,
Xiaoxin Sheng
@powerjey , Not Very Clear. But refer if this can help
Calculation Groups - Use Measure with small multiple : https://www.youtube.com/watch?v=LEn6ZnScMZc
User | Count |
---|---|
69 | |
66 | |
62 | |
48 | |
28 |
User | Count |
---|---|
112 | |
83 | |
66 | |
48 | |
43 |