Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
hi All,
I have this PBI file which has few calcuated measures. I am trying to create a new company Column/measure as below:
If (Company Share < 2%, "Others", [Company])
Howwever, if function is yielding proper results. The calculations are working fine. Infact, I created another calculated measure (Include/Exclude) to check if everything works fine. It seems there is another issue.
Below is the sanitized version of the PBI file i am using:
https://www.dropbox.com/s/dvkse68bm8pndkm/for%20community.pbix?dl=0
Can someone guide me to the solution.
Regards,
Kaushik
@Anonymous
Can you clarify what is the issue? I cant see any thing just from the model.
Best,
Paul
I the PBI file uploaded on the link, the New_company calculated column is not yielding the correct result.
https://www.dropbox.com/s/dvkse68bm8pndkm/for%20community.pbix?dl=0
Regards,
Kaushik
Hi @Anonymous ,
Please try to change it to below measure:
Measure = IF([Company Share]>0.02, MAX('Growth Growth Chart Input File'[Company]),"Others")
Aiolos Zhao
Proud to be a Super User!
Thanks for your reply. Although this solves the problem, I wanted it to be a calculated column. Some custom visuals that I am using would only consider calculate columns.
Please help me build a calculated coloumn for this.
Hi @Anonymous
try this
Column=If(table[col]>0.02,Table[Company],"Others")
Thanks & regards,
Pravin Wattamwar
www.linkedin.com/in/pravin-p-wattamwar
If I resolve your problem Mark it as a solution and give kudos.
@Anonymous
I already tried this - it populates "Others" for all entries.
Below is the formula for company share:
DIVIDE(CALCULATE(SUMX('Table',[Company Total]),ALLEXCEPT('Table','Table'[Company],'Table'[Country],'Table'[End Market],'Table'[Market Segment],'Table'[Region],'Table'[Segment],'Table'[Type],'Table'[Year])),CALCULATE(SUMX('Table',[Market Total]),ALLEXCEPT('Table','Table'[Company],'Table'[Country],'Table'[End Market],'Table'[Market Segment],'Table'[Region],'Table'[Segment],'Table'[Type],'Table'[Year])))
Hi @Anonymous ,
I have checked the PBI, could you please show me which column in table is wrong?
Aiolos Zhao
Proud to be a Super User!
User | Count |
---|---|
80 | |
74 | |
63 | |
61 | |
45 |
User | Count |
---|---|
108 | |
98 | |
89 | |
82 | |
61 |