Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
I request help with a DAX measure to count the months that there was 0 or null risks per each site. If there are 1 or more then it is not counted. If there are 0 or a missing month it would be counted, requirement is to have at least 1 every month of the fiscal year.gard to
Our fiscal year starts on 9/1/2022. Any help is greatly appreciated.
@Anonymous I would like to send you the PBIX but the data is confidential. It is however derived from a sharepoint list that has date the Risk Assessment is done, fiscal year, status, Site (where assessment is done), and all the usual SPO List data. The table above basically outlines the expected results.
Short story i need to look at all the sites individually month-by-month and determine if someone has entered an assessment for that month for each site. If a no entry is made for a month or a 0 is entered I must count that month. If Risk > 0 i do not count that month for that site.
Hi @ghutchins,
It seems like you do not have enough permission to upload pbix file as attachment.
For this scenario, you can create some dummy data on excel side with current structure and replace/remove sensitive data to paste the excel table in your reply with table format.
After these steps, we can simply copy and enter these dummy data to power bi desktop to test and coding formulas.
Notice:
My formula logic is creating a variable table with all year month range based on the current side date start/end date.
Then you can use EXCEPT function to compare two list to get missed records and its count, add the result with filter raw list item count to get finial results.
Regards,
Xiaoxisn Sheng
Hi @ghutchins,
Can you please share a pbix or some dummy data that keep the raw data structure with expected results? It should help us clarify your scenario and test to coding formula.
How to Get Your Question Answered Quickly
Regards,
Xiaoxin Sheng
User | Count |
---|---|
84 | |
73 | |
67 | |
42 | |
35 |
User | Count |
---|---|
109 | |
56 | |
52 | |
45 | |
43 |