<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Disqus - Latest Comments for back1ply</title><link>http://disqus.com/by/back1ply/</link><description></description><atom:link href="http://disqus.com/back1ply/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Thu, 13 Feb 2025 13:28:35 -0000</lastBuildDate><item><title>Re: Using the SELECTEDVALUE function in DAX - SQLBI</title><link>http://www.sqlbi.com/articles/using-the-selectedvalue-function-in-dax/#comment-6651083641</link><description>&lt;p&gt;i think you are correct&lt;/p&gt;&lt;p&gt;Befor&lt;/p&gt;&lt;p&gt;YoY%=&lt;br&gt;VAR CurrentYear = SELECTEDMEASURE()&lt;br&gt;VAR PreviousYear = CALCULATE(&lt;br&gt;    SELECTEDMEASURE(),&lt;br&gt;    DATEADD('Date Table'[Date], -1, YEAR)&lt;br&gt;)&lt;br&gt;RETURN&lt;br&gt;DIVIDE(&lt;br&gt;    CurrentYear - PreviousYear,&lt;br&gt;    PreviousYear&lt;br&gt;)&lt;/p&gt;&lt;p&gt;After&lt;/p&gt;&lt;p&gt;YoY% = &lt;br&gt;IF(&lt;br&gt;    NOT ISNUMBER(SELECTEDMEASURE()),&lt;br&gt;    SELECTEDMEASURE(),&lt;br&gt;    VAR CurrentYearValue =&lt;br&gt;        SELECTEDMEASURE()&lt;br&gt;    VAR PreviousYearValue =&lt;br&gt;        CALCULATE(&lt;br&gt;            SELECTEDMEASURE(),&lt;br&gt;            DATEADD('Date Table'[Date], -1, YEAR)&lt;br&gt;        )&lt;br&gt;    RETURN DIVIDE(CurrentYearValue - PreviousYearValue, PreviousYearValue)&lt;br&gt;)&lt;/p&gt;&lt;p&gt;Adding a check, seems to prevent the calculation group to apply on a text&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Back1Ply</dc:creator><pubDate>Thu, 13 Feb 2025 13:28:35 -0000</pubDate></item><item><title>Re: Using the SELECTEDVALUE function in DAX - SQLBI</title><link>http://www.sqlbi.com/articles/using-the-selectedvalue-function-in-dax/#comment-6649095973</link><description>&lt;p&gt;Thanks for this post, as always super helpful, i was wondering what about using it with a calculation group ?&lt;br&gt;as i get this error "Error fetching data for this visual Cannot convert value of type Text to type Numeric/Date"&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Back1Ply</dc:creator><pubDate>Mon, 10 Feb 2025 17:17:30 -0000</pubDate></item><item><title>Re: New feature - compare prices of Playstation games on GG.deals!</title><link>https://gg.deals/announcement/new-feature-compare-prices-of-playstation-games-on-ggdeals/#comment-6337979165</link><description>&lt;p&gt;More platforms to sync owned games, epic, humble, gog, ubisoft, EA Origin.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Back1Ply</dc:creator><pubDate>Tue, 05 Dec 2023 09:59:57 -0000</pubDate></item><item><title>Re: 
            Windows Registry Tweaks (Win 7 - Win 8 - Win 10)
        </title><link>http://www.volkanustabas.com.tr/post/6-windows-registry-tweaks-win-7-win-8-win-10#comment-3401982355</link><description>&lt;p&gt;Amazing collection, thanks a lot !&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Back1Ply</dc:creator><pubDate>Wed, 05 Jul 2017 17:32:24 -0000</pubDate></item></channel></rss>