The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi everyone!
I experienced the problem with adding measure to the table view in power bi. I have original table with the data filters for the past 3 weeks:
I added the measure calculating difference between some dates and inserting 0 if the data column is null; however, when I add this measure to the table, happens this:
It shows unrelevant values with the wrong dates and etc.
Help please!
@Anonymous ,The information you have provided is not making the problem clear to me. Can you please explain with an example.
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
Appreciate your Kudos.
The table to which I need to add a measure which calculates difference between dates:
I created measure which calculates the difference:
@Anonymous , Try like
Мера = IF(ISBLANK(SELECTEDVALUE(TT_INDeliveryData[sscc_disaggregated_ts])), blank() , DATEDIFF(SELECTEDVALUE(TT_INDeliveryData[gtin_warehous_ts]), SELECTEDVALUE(TT_INDeliveryData[sscc_disaggregated_ts]),DAY))
It is still shows not all values from the original table:
Hi, @Anonymous
Can you post some sample data in table form or pbix file(without sensitive data) and your expected result for further research? Also, if there are related mesure fields in the table visual, please share related formulas.
Best Regards,
Community Support Team _ Eason
User | Count |
---|---|
27 | |
12 | |
8 | |
7 | |
5 |
User | Count |
---|---|
35 | |
14 | |
12 | |
6 | |
6 |