Forum Discussion
How I can create relationship between excel sheet with no same or related column with fact table?
- 3 years ago
Hi, Aysen
According to your description, you want to get the [TVD] in the excel sheet when you enter an the value of the [MD] . And you want to get this value in your visual created by the fact table but two tables has no related columns to create relationship?
For your needs, if you want to input the corresponding value in the Excelsheet, and then get the corresponding [TVD], then we can directly get the corresponding value without creating a relationship.We can create a "Numeric range":Then we can create a measure like this:
Measure = var _enter_value = [Parameter Value]
return CALCULATE( SUM('ExcelSheet'[TVD]) , 'ExcelSheet'[MD] = _enter_value)
Then we can enter an value in the slicer and we can get the value in the fact visual:
If this method does not meet your needs, you can provide us with your special sample data and the desired output sample data in the form of tables, so that we can better help you solve the problem. (You can also upload you sample .pbix [without sensitive data] to the OneDrive and share with the OneDrive link to me ! )
Thank you for your time and sharing, and thank you for your support and understanding of PowerBI!
Best Regards,
Aniya Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi, Aysen
According to your description, you want to get the [TVD] in the excel sheet when you enter an the value of the [MD] . And you want to get this value in your visual created by the fact table but two tables has no related columns to create relationship?
Then we can enter an value in the slicer and we can get the value in the fact visual:
If this method does not meet your needs, you can provide us with your special sample data and the desired output sample data in the form of tables, so that we can better help you solve the problem. (You can also upload you sample .pbix [without sensitive data] to the OneDrive and share with the OneDrive link to me ! )
Thank you for your time and sharing, and thank you for your support and understanding of PowerBI!
Best Regards,
Aniya Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly