<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Writing DAX formulas or reformulate my table in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Writing-DAX-formulas-or-reformulate-my-table/m-p/1511046#M29350</link>
    <description>&lt;P&gt;Thanks for your reply &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="92178" data-lia-user-login="AlB" class="lia-mention lia-mention-user"&gt;AlB&lt;/a&gt;. In the end, I would like to use one date slicer. When I select this date, I would like to see the action of the three scanners on that selected day.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example;&lt;/P&gt;&lt;P&gt;I'll select date 2-11-2020, PBI gives me for;&lt;/P&gt;&lt;P&gt;&amp;nbsp;- Scanner auto: 34&lt;/P&gt;&lt;P&gt;&amp;nbsp;- Scanner fabriek: 34&lt;/P&gt;&lt;P&gt;&amp;nbsp;- Scanner nieuw: 12&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(See photo for input)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 23 Nov 2020 12:54:28 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-11-23T12:54:28Z</dc:date>
    <item>
      <title>Writing DAX formulas or reformulate my table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Writing-DAX-formulas-or-reformulate-my-table/m-p/1510940#M29347</link>
      <description>&lt;P&gt;In the photo beneath is an example showed of my file in Excel. I would like to connect my date table in Power BI to the photo below. The first three columns are snapshots of three scanmoments. However, I would like to connect the three first columns to my date table. It isn't possible to connect al of the colums to this date table, so what is your advice? Develop a new table or write a new DAX script whereby there is a connection between the headers and 1 date, in stead of 3?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 11:56:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Writing-DAX-formulas-or-reformulate-my-table/m-p/1510940#M29347</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-23T11:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: Writing DAX formulas or reformulate my table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Writing-DAX-formulas-or-reformulate-my-table/m-p/1510979#M29348</link>
      <description>&lt;P&gt;1. Either create relationship to all 3 and 1 of them stays active, and when you have to use other 2 relationships then use USERELATIONSHIP in CALCULATE, i.e.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;CALCULATE ( [Total Amount], USERELATIONSHIP ( Table[Scanner Fabrierk], Dates[Date] ) )and&amp;nbsp;&lt;/P&gt;
&lt;P&gt;CALCULATE ( [Total Amount], USERELATIONSHIP ( Table[Scanner nieuw], Dates[Date] ) )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. or, don't create any realtionships at all and use TREATAS.&lt;/P&gt;
&lt;P&gt;CALCULATE ( [Total Amount], TREATAS ( VALUES ( Dates[Date] ),&amp;nbsp;Table[Scanner nieuw] &amp;nbsp;)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would suggest that you go with the first option.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 12:27:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Writing-DAX-formulas-or-reformulate-my-table/m-p/1510979#M29348</guid>
      <dc:creator>AntrikshSharma</dc:creator>
      <dc:date>2020-11-23T12:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: Writing DAX formulas or reformulate my table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Writing-DAX-formulas-or-reformulate-my-table/m-p/1510982#M29349</link>
      <description>&lt;P&gt;Hi Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You haven't explained what you ultimately want to do, what you'll use the relationships for. If you did, perhaps we could come up with a more accurate solution.&lt;/P&gt;
&lt;P&gt;You can create one active relationship and two inactive ones, and then activate those as necessary with USERELATIONSHIP( )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Please mark the question solved when done and consider &lt;FONT color="#FF9900"&gt;giving a thumbs up if posts are helpful.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;Contact me privately for support with any larger-scale BI needs, tutoring, etc.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Cheers&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 12:28:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Writing-DAX-formulas-or-reformulate-my-table/m-p/1510982#M29349</guid>
      <dc:creator>AlB</dc:creator>
      <dc:date>2020-11-23T12:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: Writing DAX formulas or reformulate my table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Writing-DAX-formulas-or-reformulate-my-table/m-p/1511046#M29350</link>
      <description>&lt;P&gt;Thanks for your reply &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="92178" data-lia-user-login="AlB" class="lia-mention lia-mention-user"&gt;AlB&lt;/a&gt;. In the end, I would like to use one date slicer. When I select this date, I would like to see the action of the three scanners on that selected day.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example;&lt;/P&gt;&lt;P&gt;I'll select date 2-11-2020, PBI gives me for;&lt;/P&gt;&lt;P&gt;&amp;nbsp;- Scanner auto: 34&lt;/P&gt;&lt;P&gt;&amp;nbsp;- Scanner fabriek: 34&lt;/P&gt;&lt;P&gt;&amp;nbsp;- Scanner nieuw: 12&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(See photo for input)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 12:54:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Writing-DAX-formulas-or-reformulate-my-table/m-p/1511046#M29350</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-23T12:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: Writing DAX formulas or reformulate my table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Writing-DAX-formulas-or-reformulate-my-table/m-p/1511194#M29358</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yeah, you can create the relationships as explained before. Then place DateTable[Date] in the rows of a table visual and use these measures in the visual:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;MeasureScannerAuto =
CALCULATE ( SUM ( Table1[Amount] ) )
&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;MeasureScannerFabriek =
CALCULATE (
    SUM ( Table1[Amount] ),
    USERELATIONSHIP ( DateTable[Date], Table1[Scanner Fabriek] )
)&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;MeasureScannerNieuw =
CALCULATE (
    SUM ( Table1[Amount] ),
    USERELATIONSHIP ( DateTable[Date], Table1[Scanner Nieuw] )
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Please mark the question solved when done and consider &lt;FONT color="#FF9900"&gt;giving a thumbs up if posts are helpful.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;Contact me privately for support with any larger-scale BI needs, tutoring, etc.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Cheers&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 13:49:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Writing-DAX-formulas-or-reformulate-my-table/m-p/1511194#M29358</guid>
      <dc:creator>AlB</dc:creator>
      <dc:date>2020-11-23T13:49:38Z</dc:date>
    </item>
  </channel>
</rss>

