Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
I have two excel.One contain 12 ID no, Title and another excel contain 5 title.
I need to create a dax function that compares both titles and if it matches it should count as common and if not matches it should count as uncommon.
i need to visualise in pie chart
i used below calclated column:
.
Can anyone help?excel1
excel2
Solved! Go to Solution.
Hi @Jameel ,
According to your statement, I think your issue should be caused that you add this column in Sheet1(2). Due to it doesn't contain all title in it, so it will return blank in your visual. Please add a column in Sheet1.
Column =
IF (
ISEMPTY (
FILTER ( 'Sheet1 (2)', 'Sheet1 (2)'[title] = EARLIER ( 'Sheet1'[title] ) )
),
"UnCommon",
"Common"
)
Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Jameel
In your Excel 1 Table, aa new Calculated column with this DAX:
IF( ISEMPTY( FILTER( excel2 , excel2[title] = EARLIER( [title] ) ) ) , "UnCommon" , "Common" )
Use this New Column to visualize it using a Pie Chart
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
i tried above dax function, but it showing common correctly, but instead of uncommon, it is showing blank
Note: mentioned "most used" instead of "common"
@Jameel
Please share your PBI file with dummy data
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@Jameel
Save the file in Google Drive and attach the link here and provide permission to access it.
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Hi @Jameel ,
According to your statement, I think your issue should be caused that you add this column in Sheet1(2). Due to it doesn't contain all title in it, so it will return blank in your visual. Please add a column in Sheet1.
Column =
IF (
ISEMPTY (
FILTER ( 'Sheet1 (2)', 'Sheet1 (2)'[title] = EARLIER ( 'Sheet1'[title] ) )
),
"UnCommon",
"Common"
)
Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous Its working..Thanks for the help