Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Note: I've seen many posts on the community about painting over this no relationship by excluding or replacing the ID with a defaulted value because they have no data on the data table so no need. My case is the other way around. I have no ID but I have data for the row.
This is along the lines of the table visual:
Club | Number of Members
-------------------------------------
Bar | 1200
Golf | 1800
| 640
Salsa | 200
Science | 100
The relationship is on string values since my data is internal and no flags were created. So, keep in mind I am unable to change anything on the original table. (Side note: Can I create custom unique flag values on Power BI data?) The relationships is between two tables:
Data Table:
Club | Number of Members
-------------------------------------
Bar | 1200
Golf | 1800
| 640
Salsa | 200
Science | 100
Lookup Table:
Club | Member Name | Member Age
-------------------------------------------------
Bar | Kyle | NULL
Golf | Amanda | 19
Dance | Alfonso | 21
Salsa | Alex | 30
Science | Grant | 18
Dance | Chris | 26
Dance | Patty | 28
As seen, there is no relationship with Club Dance. I would like to merge the Dance column with the Salsa data. How should go about this? Is there a merge I can do? Perhaps remodeling a calculated column. In the end, I do not want to see any (Blank) values and I would not like to exclude data (as seen here, 640 is a huge piece of the data).
I have already tried creating a new calculated column (but it does not work): Department Revised = IF(ISBLANK([Club]), "Salsa", [Club])
Any suggestions?
Thank you for any help.
Solved! Go to Solution.
Hi @Anonymous ,
Try to create a calculated column like this:
Department Revised = IF(table[Club]=""||table[Club]="Dance", "Salsa", [Club])
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
Try to create a calculated column like this:
Department Revised = IF(table[Club]=""||table[Club]="Dance", "Salsa", [Club])
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous Does this work for you? For your blank value I replaced the blanks with Office Services:
I did the same with Dance to Salsa:
Then I just joined up the two tables and used a Matrix as a visual:
What type of visual are you trying to create with this information?
Proud to be a Super User!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
97 | |
85 | |
67 | |
59 |
User | Count |
---|---|
150 | |
120 | |
100 | |
87 | |
68 |