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.
Hi there,
I am trying to write a measure which will pull in a count of all users by day who have made an order and also logged into wifi. The order and wifi tables are separate and are linked with a date table.
I am using the below measure to count Order customers who are also registered in the wifi table
Solved! Go to Solution.
You need the evaluate the measure date by date to replicate what is happening in the chart. Use this measure (that uses the one you have already) in the chart and in the card:
Same Day Order & Wifi TOT =
SUMX( DISTINCT('Date Table'[Date]), [Same Day Order & Wifi])
Note there is no need for the CALCULATE in [Same Day Order & Wifi]. You can get rid of it
Please mark the question solved when done and consider giving a thumbs up if posts are helpful.
Contact me privately for support with any larger-scale BI needs, tutoring, etc.
Cheers
You need the evaluate the measure date by date to replicate what is happening in the chart. Use this measure (that uses the one you have already) in the chart and in the card:
Same Day Order & Wifi TOT =
SUMX( DISTINCT('Date Table'[Date]), [Same Day Order & Wifi])
Note there is no need for the CALCULATE in [Same Day Order & Wifi]. You can get rid of it
Please mark the question solved when done and consider giving a thumbs up if posts are helpful.
Contact me privately for support with any larger-scale BI needs, tutoring, etc.
Cheers
oh wow, that works perfectly! Thank you so much for your time and help 😊
Can you share the pbix (with dummy data reproducing the issue if necessary) or show samples of your relavant data?
Please mark the question solved when done and consider giving a thumbs up if posts are helpful.
Contact me privately for support with any larger-scale BI needs, tutoring, etc.
Cheers
It loosk liek the linke requires signing in. Please remove the requirement or host it elsewhere....or just upload the file to a site like tinyupload.com (no sign-up required).
Please mark the question solved when done and consider giving a thumbs up if posts are helpful.
Contact me privately for support with any larger-scale BI needs, tutoring, etc.
Cheers
Thanks for the tip, does this link work?
http://s000.tinyupload.com/index.php?file_id=37093313513870933083
Hi there,
Thanks so much for your reply.
I've attached a pbix as requested. Essentially I need a distinct count of customers per day who appear in both the order and wifi logins tables on the same date - so need to write a measure that matches on ID and date.
In the workbook, the bar chart shows daily vols of wifi with orders customers for January 2020, these are the correct figures. However the card beneath which uses the same measure is showing the wrong value - I did some spot checking of the data in excel and the count should be 44 custs not 62 as shown in the card. The daily volumes add up to 44 in the chart, but when I expand the date drilldown to monthly, it then reflects 62 which is wrong.
Please let me know if you need anymore info, and thanks very much for your help
Sorry how do I attach the pbix workbook? Can't see any obvious button!
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 |
---|---|
109 | |
98 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |