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.
I need to find all people whose gross income is more than 30% of their rent. I have columns for both gross income and rent amount. How do I create a measure to calculate this value so that I can sort it?
Here is an example of the data:
Instead of Measures, try adding one or more columns.
For example:
RentPercentage = [Rent] / [GrossIncome]
GT30 = [RentPercentage] > 0.30
This will give you the rent percentage per row, and whether it is greater than 30% per row. If you want to see the totals for your whole table, then you might want to add a measure.
This sounds like what I wan to do. However, the data resides in two different tables. Do you have to create new table from this or can I create a custom column and combine fields from two tables?
I am trying to do this: RentPercentage = RELATED(Unit[Rent])/[GrossIncome] but it's telling me this: The column 'Unit[Rent]' either doesn't exist or doesn't have a relationship to any table available in the current context.
Does those suggestion help you? if you still have any problem ding this, please show me your data model for better analysis.
Best Regards
Maggie
You can use the Manage Relationships button (Home tab on the ribbon) to add a relationship between your tables, or you can use the Merge Tables command in the Edit Queries page to combine both into a single table. If you add a relationship, then you'll need to reference the table by name, for example:
RentPercentage = Unit[Rent])/Related[GrossIncome]
Hey there, do you mean if rent is greater than 30% of GrossIncome
For this, you could use the measure: Measure = IF(SUM(Table1[Rent])>(SUM(Table1[GrossIncome])*0.3),"Yes","No")
But you should also realise that you can't sort on a Measure, so you should create a new column where you do the formual
cheers!
To be clear that I understand, you want to find people where:
GrossIncome > (Rent *.3)
Correct?
cloud computing is the platform by which w can able to make a virtual memory that has no physical existence but we are able to store our personal information. I have done several projects on cloud computing by taking help from Dell printer Support . so if you want to develop your own project can take help from them.
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 |
---|---|
115 | |
99 | |
88 | |
70 | |
62 |
User | Count |
---|---|
151 | |
120 | |
103 | |
87 | |
68 |