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.
Hello everyone
I have a sale data and in excel, i use vlookup to calculate the percent of member type who had purchased.
Is it possible to do the same in power bi? I am stuck, can anyone advice?
https://drive.google.com/file/d/1JQhCMuJObYubhM15_NyIltrGlIt4l9LS/view?usp=sharing
Many thanks 🙏
Solved! Go to Solution.
i created a column in sales table
Column = LOOKUPVALUE('Member Database'[Membership Code],'Member Database'[MembershipID],Sales[MembershipID])
there are 10 records and two duplicated members. So the result for distinctcount is 8
Proud to be a Super User!
you can create a calc like this
Proud to be a Super User!
@vanessafvg
actually i dont need the sales amount.
i trying to find out for the april sales, example.
In the sale data, there are 9 VIP who make purchase.
In the member database, there are total of 26 VIP
So total percent who VIP who made purchase =35%
Is that possible? thank you very much 🙂
pls try this
Measure = distinctcount(Sales[MembershipID])/COUNTROWS('Member Database')
Proud to be a Super User!
hello.
I tried the formula but the percent is different when done in excel?
for example:
9 VIP made purchase & there are total of 26 VIP
So total percent made purchase =35%
i created a column in sales table
Column = LOOKUPVALUE('Member Database'[Membership Code],'Member Database'[MembershipID],Sales[MembershipID])
there are 10 records and two duplicated members. So the result for distinctcount is 8
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 |
---|---|
113 | |
97 | |
85 | |
70 | |
61 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |